joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400278f0
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 [0x140129038]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x450]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x14010cb00]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, [0x14011002e]
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x240]
mov rcx, r15
mov r9d, 0x1cc
call fcn.140070830
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140072010
lea r14, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400279a0
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, r14
call fcn.140074550
mov rcx, r14
call fcn.14005de90
lea r14, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400279d7
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, r14
call fcn.140074550
mov rcx, r14
call fcn.14005de90
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400279f9
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140027a05
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 0x140027a8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003a400
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140027a38
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140027a41
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 0x140027a5c
test eax, eax
je 0x140027a90
lea rcx, [rsp + 0x450]
call fcn.140072240
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14008f1f0
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov dil, 1
jmp 0x140027a5c
cmp ebp, 0xfffffffc
jne 0x140027a9c
call fcn.1400dfad0
mov ebp, eax
mov dword [rsi], ebp
xor edi, edi
jmp 0x140027a5c

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14010cb00]
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, 0x1ff
call fcn.140070830
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140072010
cmp byte [rdi + 0x17], 0
jns 0x140027b30
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140072240
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008f1f0
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x140027b70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x40], rax
movaps xmm0, xmmword [0x14010cb00]
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, 0x227
call fcn.140070830
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140072010
cmp byte [rdi + 0x17], 0
jns 0x140027bf0
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.140072240
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14008f1f0
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140027c30
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140091340
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x140027ccf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400add10
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14006a160
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002cc60
mov rcx, rsi
mov rdx, r14
call fcn.14006a300
mov rcx, r14
call fcn.14006a2f0
mov rcx, rbx
call fcn.14006a2f0
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14008f1f0
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140027d00
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140091340
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 0x140027d95
cmp word [rsp + 0x70], 0
je 0x140027d95
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400add10
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14006a160
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010cb00]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14006a030
mov rcx, rdi
call fcn.140027c30
test al, al
je 0x140027dd5
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14006a140
jmp 0x140027df4
lea rax, [0x140110056]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14006a160
lea rcx, [rsp + 0x40]
call fcn.14006a2f0
jmp 0x140027d77
Function at 0x140028b00
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 [0x140129038]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003d000
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14010cb00]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003d1c0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140028b96
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x140028bd8
lea rcx, [rsp + 0x30]
call fcn.14006a2f0
lea rcx, [rsp + 0x298]
call fcn.14003d100
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.14008f1f0
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r14, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r12d, r12d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
mov rcx, r15
mov rdx, r14
call fcn.14003d170
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x140028cf0
mov rcx, r14
call fcn.14003cfd0
test al, al
jne 0x140028c9f
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140028c32
mov rcx, qword [rsp + 0x30]
call r13
test eax, eax
jne 0x140028d25
call qword [sym.imp.KERNEL32.dll_GetLastError]
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.14003d1c0
mov rcx, rdi
mov rdx, r14
call fcn.14006a300
mov rcx, r14
call fcn.14006a2f0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x140028c8e
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
je 0x140028b9b
jmp 0x140028bef
xor ebp, ebp
test bl, bl
je 0x140028c53
mov rcx, rdi
mov rdx, rsi
mov r8b, 1
call fcn.140028b00
test eax, eax
jne 0x140028d42
cmp byte [rsp + 0x47], 0
mov rcx, rdi
jns 0x140028cca
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140028c53
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x140028c53
test bl, bl
je 0x140028d05
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x140028d2c
mov rcx, qword [rsp + 0x30]
jmp 0x140028d31
lea rcx, [rsp + 0x48]
call fcn.14003cfd0
test al, al
je 0x140028d3c
lea rcx, [rsp + 0x48]
call fcn.14003cfd0
test al, al
je 0x140028c23
xor ebp, ebp
jmp 0x140028c53
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x140028c17
mov edx, dword [rsp + 0x48]
jmp 0x140028cf4
mov ebp, eax
jmp 0x140028c53
Function at 0x140028fa0
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 [0x140129038]
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.140091340
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.140029240
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 0x1400290a6
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400290a6
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x1400290a6
dec r8d
mov rcx, rsi
call fcn.140065b60
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14008f1f0
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.140091340
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.140029240
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 0x140029127
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140029127
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140029072
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
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.140029240
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 0x1400291ab
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400291ab
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140029072
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.140091340
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.140029240
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 0x140029230
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140029230
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140029072
xor esi, esi
jmp 0x140029080
Function at 0x14002d230
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14013bac0]
test rdi, rdi
jne 0x14002d2e3
mov ecx, 0x50
call fcn.14008dd4c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14008dd4c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002d305
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 [0x14013bac0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002d331
mov rcx, rax
call fcn.1400add10
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002d340
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008f1f0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
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.1400c29f0
int3
Function at 0x14002d340
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 [0x140129038]
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.14003ae50
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002d4cc
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x140110698]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002d51d
lea rdx, [0x1401106e8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002d530
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14014f008]
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 0x14002d538
shl r12, 3
movabs rax, 0x5555555555555551
cmp r12, rax
jae 0x14002d542
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14008dd4c
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 0x14002d4f1
mov rdx, qword [r14 + r13]
mov rcx, r15
call fcn.1400c2010
add r15, 0x18
add r13, 8
cmp r12, r13
jne 0x14002d44c
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002d050
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002d49a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002d4cc
cmp r15, rbx
je 0x14002d4c4
lea rsi, [r15 - 0x18]
cmp byte [r15 - 1], 0
js 0x14002d4b9
mov r15, rsi
cmp rsi, rbx
jne 0x14002d4a4
jmp 0x14002d4c4
mov rcx, qword [r15 - 0x18]
call fcn.14008dd88
jmp 0x14002d4af
mov rcx, rbx
call fcn.14008dd88
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008f1f0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
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.1400c29f0
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002d3f1
xor r14d, r14d
jmp 0x14002d3f4
xor r15d, r15d
xor ebx, ebx
jmp 0x14002d473
lea rcx, [rsp + 0x30]
call fcn.1400c2960
int3
Function at 0x14002fe30
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 [0x140129038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [0x14013baf8]
test rdx, rdx
jne 0x14002ff47
mov ecx, 0x18
call fcn.14008dd4c
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x14013baf8], rax
mov ecx, 0x18
call fcn.14008dd4c
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x14013bb00], rax
call fcn.140032090
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.1400c2010
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r13, [rsp + 0x20]
mov rcx, r13
mov rdx, rax
call fcn.1400c2010
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.140030db0
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, r14
call fcn.14002f8a0
mov ebx, eax
cmp byte [rbp + 0x17], 0
jns 0x14002ff16
mov rcx, qword [rsp + 0x50]
call fcn.14008dd88
cmp byte [rsp + 0x37], 0
jns 0x14002ff27
mov rcx, qword [rsp + 0x20]
call fcn.14008dd88
cmp byte [rsp + 0x4f], 0
jns 0x14002ff38
mov rcx, qword [rsp + 0x38]
call fcn.14008dd88
test bl, bl
je 0x14003001f
mov rdx, qword [0x14013baf8]
cmp rdx, rdi
je 0x14002ff72
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x14002fff0
test r8b, r8b
jns 0x14002ffd0
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140026b90
mov dil, 1
test rsi, rsi
je 0x14002ffa8
mov rdx, qword [0x14013bb00]
cmp rdx, rsi
je 0x14002ffa8
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140030009
test r8b, r8b
jns 0x14002ffe0
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140026b90
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14008f1f0
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 0x14002ff72
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
jmp 0x14002ffa8
test r8b, r8b
jns 0x14002fffc
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140026aa0
jmp 0x14002ff72
test r8b, r8b
jns 0x140030015
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rsi
call fcn.140026aa0
jmp 0x14002ffa8
xor edi, edi
jmp 0x14002ffa8
Function at 0x140030620
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x238
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140091340
mov word [rdi], 0
lea rcx, str.PROGRAMFILES
mov rdx, rdi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400306b5
mov eax, eax
inc rax
cmp rax, 1
je 0x1400306b5
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140030681
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400306a2
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a91a8
test eax, eax
je 0x140030794
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMFILES_X86_
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140030716
mov eax, eax
inc rax
cmp rax, 1
je 0x140030716
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x1400306e2
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140030703
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a91a8
test eax, eax
je 0x1400307be
lea rdx, [rsp + 0x20]
mov word [rdx], 0
lea rcx, str.PROGRAMW6432
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140030773
mov eax, eax
inc rax
cmp rax, 1
je 0x140030773
lea r14, [rax - 1]
cmp word [rsp + rax*2 + 0x1c], 0x5c
mov rax, r14
je 0x140030743
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140030764
mov rcx, qword [rsi]
mov rdx, rdi
mov r8, r14
call fcn.1400a91a8
test eax, eax
je 0x1400307e8
xor ebx, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14008f1f0
mov eax, ebx
add rsp, 0x238
pop rbx
pop rdi
pop rsi
pop r14
ret
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400307a0
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140030775
mov rcx, rsi
mov rdx, r14
call fcn.1400d2bc0
cmp word [rax], 0x5c
jne 0x1400306b5
jmp 0x140030775
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400307ca
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140030775
mov rcx, rsi
mov rdx, r14
call fcn.1400d2bc0
cmp word [rax], 0x5c
jne 0x140030716
jmp 0x140030775
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400307f4
mov rax, qword [rsi + 8]
mov bl, 1
cmp rax, r14
je 0x140030775
mov rcx, rsi
mov rdx, r14
call fcn.1400d2bc0
cmp word [rax], 0x5c
jne 0x140030773
jmp 0x140030775
Function at 0x140031220
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140129038]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140031338
mov ebx, eax
mov r15d, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [0x14010cb00]
movaps xmmword [rsp + 0x20], xmm0
cmp ebx, 0xb
jae 0x140031348
lea r14, [rsp + 0x20]
mov byte [r14 + 0x17], bl
lea r8, [r15 + r15]
mov rcx, r14
xor edx, edx
call fcn.140091340
mov word [r14 + r15*2], 0
cmp byte [rsp + 0x37], 0
jns 0x1400312ad
mov rdx, qword [rsp + 0x20]
jmp 0x1400312b2
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140031328
mov edx, eax
movzx eax, byte [rsp + 0x37]
test al, al
jns 0x1400312d2
mov rax, qword [rsp + 0x28]
cmp rax, rdx
jbe 0x140031328
lea rdi, [rsp + 0x20]
mov rcx, rdi
xor r8d, r8d
call fcn.1400653b0
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
cmp byte [rsp + 0x37], 0
js 0x140031380
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14008f1f0
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140031303
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14003130a
mov r12, r15
or r12, 7
lea rcx, [r12*2 + 2]
call fcn.14008dd4c
mov r14, rax
mov qword [rsp + 0x20], rax
movabs rax, 0x8000000000000001
add rax, r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
jmp 0x14003128a
mov rcx, qword [rsp + 0x20]
call fcn.14008dd88
jmp 0x14003130a