joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140027420
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x14011321e]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1d6
call fcn.140071f70
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400737a0
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400274d0
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140075f00
mov rcx, r14
call fcn.14005e5a0
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x140027507
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140075f00
mov rcx, r14
call fcn.14005e5a0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140027529
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140027535
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1400275bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140039fc0
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140027568
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140027571
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
test rsi, rsi
je 0x14002758c
test eax, eax
je 0x1400275c0
lea rcx, [rsp + 0x450]
call fcn.1400739e0
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140092d80
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x14002758c
cmp ebp, 0xfffffffc
jne 0x1400275cc
call fcn.1400e2ee0
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x14002758c

Function at 0x1400275e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x209
call fcn.140071f70
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400737a0
cmp byte [rdi + 0x17], 0
jns 0x140027660
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400739e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140092d80
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400276a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x212
call fcn.140071f70
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.1400737a0
cmp byte [rdi + 0x17], 0
jns 0x140027730
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400277c3
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x1400277a6
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x1400277ef
call fcn.140071f90
mov r14, rdi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400277c3
call fcn.140071f90
mov rcx, r14
call fcn.140073cd0
lea rcx, [rsp + 0x60]
call fcn.1400739e0
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140092d80
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x14002779e

Function at 0x140027800
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x231
call fcn.140071f70
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400737a0
cmp byte [rdi + 0x17], 0
jns 0x140027880
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.1400739e0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140092d80
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400278c0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140094eb0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002795f
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400b16d0
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14006af50
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002c430
mov rcx, rsi
mov rdx, r14
call fcn.14006b2d0
mov rcx, r14
call fcn.14006b250
mov rcx, rbx
call fcn.14006b250
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140092d80
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140027990
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140094eb0
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x140027a3e
cmp word [rsp + 0x70], 0
je 0x140027a3e
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400b16d0
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14006af50
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140092d80
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006af30
lea rcx, [rsp + 0x40]
call fcn.14006b250
jmp 0x140027a07
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14006ae20
mov rcx, rdi
call fcn.1400278c0
test al, al
jne 0x140027a25
lea rax, [0x140113246]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14006af50
jmp 0x140027a32
Function at 0x140027ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rsi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x40], r15
movaps xmm6, xmmword [0x14010fbd0]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetSecureSystemTemp
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r9d, 0x2b3
call fcn.140071f70
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400737a0
test rsi, rsi
je 0x14002813a
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14006ae20
mov ecx, 0x65
mov rdx, rdi
call fcn.1400295d0
test al, al
je 0x140028007
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xc0]
mov rcx, rdi
mov rdx, rbx
call fcn.14002c3a0
mov rcx, rdi
mov rdx, rbx
call fcn.14006b2d0
mov rcx, rbx
call fcn.14006b250
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.140071f70
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400737a0
cmp byte [rsp + 0x47], 0
jns 0x140027feb
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400739e0
cmp edi, 0xffffffff
jne 0x1400280cf
lea rcx, [rsp + 0x30]
call fcn.14006b250
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.14006ae20
mov ecx, 0x67
mov rdx, rdi
call fcn.1400295d0
test al, al
je 0x1400280c1
lea rbx, [rsp + 0xc0]
mov qword [rbx + 0x40], r15
movaps xmmword [rbx + 0x30], xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x50]
mov rcx, r14
mov r9d, 0x209
call fcn.140071f70
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.1400737a0
cmp byte [rsp + 0x47], 0
jns 0x140028090
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400739e0
cmp edi, 0xffffffff
je 0x1400280c1
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400276a0
test al, al
jne 0x1400280ec
lea rcx, [rsp + 0x30]
call fcn.14006b250
xor esi, esi
jmp 0x140028107
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.1400276a0
test al, al
je 0x140028007
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.14006b260
mov rcx, rdi
call fcn.14006b250
mov sil, 1
lea rcx, [rsp + 0x70]
call fcn.1400739e0
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140092d80
mov eax, esi
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x120
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
int3
Function at 0x140028c20
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003cc90
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010fbd0]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003cea0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x140028cb6
and eax, 0x7f
jmp 0x140028cbb
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140028d8f
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
mov rcx, r15
mov rdx, r14
call fcn.14003ce50
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140028dd3
mov rcx, r14
call fcn.14003cc60
test al, al
jne 0x140028e20
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140028d22
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140028dcc
call r13
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r12d, r12d
cmovne ebp, r12d
mov rcx, r14
call fcn.1400189d0
mov rcx, r15
mov rdx, r14
call fcn.14003cea0
mov rcx, rdi
mov rdx, r14
call fcn.14006b2d0
mov rcx, r14
call fcn.14006b250
movzx eax, byte [rsp + 0x47]
test al, al
js 0x140028d7e
and eax, 0x7f
jmp 0x140028d83
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x140028cdb
lea rcx, [rsp + 0x30]
call fcn.14006b250
lea rcx, [rsp + 0x298]
call fcn.14003cde0
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140092d80
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
jmp 0x140028d43
test bl, bl
je 0x140028df8
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
js 0x140028de8
lea rcx, [rsp + 0x30]
jmp 0x140028ded
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140028d03
lea rcx, [rsp + 0x48]
call fcn.14003cc60
test al, al
jne 0x140028e0c
mov edx, dword [rsp + 0x48]
jmp 0x140028dd7
lea rcx, [rsp + 0x48]
call fcn.14003cc60
test al, al
je 0x140028d13
jmp 0x140028dcc
xor ebp, ebp
test bl, bl
je 0x140028d43
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov rdx, rsi
mov r8b, 1
call fcn.140028c20
mov ebp, eax
test eax, eax
jne 0x140028d43
cmp byte [rsp + 0x47], 0
jns 0x140028e5a
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x140028d43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140028d43
Function at 0x140029210
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx ebp, word [rcx + 0x28]
movzx r12d, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call r15
mov word [rsp + 0x3e], ax
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140094eb0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400294b0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140029316
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140029316
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140029316
dec r8d
mov rcx, rsi
call fcn.1400664b0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140092d80
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r15, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.140094eb0
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.1400294b0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140029397
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140029397
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400292e2
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
mov qword [rsp + 0x30], rbx
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400294b0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002941b
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x14002941b
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400292e2
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140094eb0
movzx eax, word [rsp + 0x3e]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.1400294b0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea r9, [rsp + 0x44]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400294a0
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400294a0
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x1400292e2
xor esi, esi
jmp 0x1400292f0
Function at 0x14002ca10
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14013ead0]
test rdi, rdi
jne 0x14002cac3
mov ecx, 0x50
call fcn.14009186c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14009186c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002cae8
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x20], rcx
mov rax, rsi
add rax, 0x38
movups xmmword [rsi + 0x38], xmm6
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov qword [0x14013ead0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002cae5
mov rcx, rax
call fcn.1400b16d0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002cb20
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140092d80
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400c6370
int3
Function at 0x14002cb20
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.14003aa10
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002cc8c
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401138a8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002cce1
lea rdx, [0x1401138f8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002cccf
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140152008]
mov r14, rax
movsxd r12, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test r12, r12
je 0x14002ccd7
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x14002cd20
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14009186c
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, r15
mov qword [rsp + 0x40], rax
xor r13d, r13d
mov r15, rbx
test r15, r15
je 0x14002ccf4
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400c59a0
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14002cc2c
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002c820
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002cc7a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002cc8c
cmp r15, rbx
jne 0x14002ccc2
mov rcx, rbx
call fcn.1400918a8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140092d80
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r15 - 0x18]
call fcn.1400918a8
mov r15, rsi
cmp rsi, rbx
je 0x14002cc84
lea rsi, [r15 - 0x18]
cmp byte [r15 - 1], 0
jns 0x14002ccba
jmp 0x14002ccb1
xor r14d, r14d
jmp 0x14002cbd4
xor r15d, r15d
xor ebx, ebx
jmp 0x14002cc53
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002cbd1
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1400c6370
lea rcx, [rsp + 0x30]
call fcn.1400c62e0
int3
Function at 0x14002fbb0
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14012c038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [0x14013eb08]
test rdx, rdx
jne 0x14002fcc7
mov ecx, 0x18
call fcn.14009186c
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x14013eb08], rax
mov ecx, 0x18
call fcn.14009186c
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x14013eb10], rax
call fcn.140032190
mov rax, qword [rax + 8]
mov r15, qword [rax + 0x10]
lea rdx, str.user_data_dir
lea r12, [rsp + 0x38]
mov rcx, r12
call fcn.1400c59a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r13, [rsp + 0x20]
mov rcx, r13
mov rdx, rax
call fcn.1400c59a0
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.140030b70
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, r14
call fcn.14002f190
mov ebx, eax
cmp byte [rbp + 0x17], 0
jns 0x14002fc96
mov rcx, qword [rsp + 0x50]
call fcn.1400918a8
cmp byte [rsp + 0x37], 0
jns 0x14002fca7
mov rcx, qword [rsp + 0x20]
call fcn.1400918a8
cmp byte [rsp + 0x4f], 0
jns 0x14002fcb8
mov rcx, qword [rsp + 0x38]
call fcn.1400918a8
test bl, bl
je 0x14002fdae
mov rdx, qword [0x14013eb08]
cmp rdx, rdi
je 0x14002fcf2
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x14002fd70
test r8b, r8b
jns 0x14002fd50
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140026800
mov dil, 1
test rsi, rsi
je 0x14002fd28
mov rdx, qword [0x14013eb10]
cmp rdx, rsi
je 0x14002fd28
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x14002fd8f
test r8b, r8b
jns 0x14002fd60
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140026800
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140092d80
mov eax, edi
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdx + 0x10]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rdi], xmm0
jmp 0x14002fcf2
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
jmp 0x14002fd28
test r8b, r8b
js 0x14002fd7b
and r8d, 0x7f
jmp 0x14002fd82
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140026710
jmp 0x14002fcf2
test r8b, r8b
js 0x14002fd9a
and r8d, 0x7f
jmp 0x14002fda1
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140026710
jmp 0x14002fd28
xor edi, edi
jmp 0x14002fd28