joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140029830
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a1ce0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400298cf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1400be468
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140071f40
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002f280
mov rcx, rsi
mov rdx, r14
call fcn.14002d8d0
mov rcx, r14
call fcn.140072090
mov rcx, rbx
call fcn.140072090
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14009fb90
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140029900
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a1ce0
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 0x140029995
cmp word [rsp + 0x70], 0
je 0x140029995
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1400be468
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140071f40
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14009fb90
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 [0x14011c230]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.140071ec0
mov rcx, rdi
call fcn.140029830
test al, al
jne 0x1400299e7
lea rax, [0x14011fddc]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140071f40
jmp 0x1400299f4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140071f20
lea rcx, [rsp + 0x40]
call fcn.140072090
jmp 0x140029977
Function at 0x140029e70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0xf8], rax
cmp byte [0x140152d6c], 0
jne 0x14002a111
mov rsi, rcx
movaps xmm6, xmmword [0x14011c230]
lea rdi, [rsp + 0x50]
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 + 0xb0]
mov rcx, rbx
mov r9d, 0x2b9
call fcn.140076130
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140076160
test rsi, rsi
je 0x14002a115
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140071ec0
mov ecx, 0x65
mov rdx, rdi
call fcn.14002b4a0
test al, al
je 0x140029fdf
lea rax, str.SystemTemp
lea r8, [rsp + 0x20]
mov qword [r8], rax
mov qword [r8 + 8], 0xa
lea rbx, [rsp + 0xb0]
mov rcx, rdi
mov rdx, rbx
call fcn.14002f090
mov rcx, rdi
mov rdx, rbx
call fcn.14002d8d0
mov rcx, rbx
call fcn.140072090
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140076130
lea rbx, [rsp + 0xb0]
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140076160
cmp byte [rsp + 0x47], 0
jns 0x140029fc3
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400761e0
cmp edi, 0xffffffff
jne 0x14002a0a6
lea rcx, [rsp + 0x30]
call fcn.140072090
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
mov rcx, rdi
call fcn.140071ec0
mov ecx, 0x67
mov rdx, rdi
call fcn.14002b4a0
test al, al
je 0x14002a098
lea rbx, [rsp + 0xb0]
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 + 0x90]
mov rcx, r14
mov r9d, 0x20b
call fcn.140076130
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.140076160
cmp byte [rsp + 0x47], 0
jns 0x14002a067
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov rcx, rbx
call fcn.1400761e0
cmp edi, 0xffffffff
je 0x14002a098
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140029620
test al, al
jne 0x14002a0c3
lea rcx, [rsp + 0x30]
call fcn.140072090
xor esi, esi
jmp 0x14002a0de
lea rcx, [rsp + 0x30]
mov edx, 2
mov r8d, 0x40000000
call fcn.140029620
test al, al
je 0x140029fdf
lea rdi, [rsp + 0x30]
mov rcx, rsi
mov rdx, rdi
call fcn.1400720a0
mov rcx, rdi
call fcn.140072090
mov sil, 1
lea rcx, [rsp + 0x50]
call fcn.1400761e0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14009fb90
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor esi, esi
jmp 0x14002a0e8
int3
Function at 0x14002ac10
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, 0x578
mov byte [rsp + 0x37], r8b
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x570], rax
lea r14, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a1ce0
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14003ebf0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x14011c230]
movaps xmmword [rdi], xmm0
mov rcx, r14
mov rdx, rdi
call fcn.14003ee00
movzx eax, byte [rdi + 0x17]
test al, al
js 0x14002aca8
and eax, 0x7f
jmp 0x14002acad
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14002ad84
lea r14, [rsp + 0x58]
lea r15, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
xor r13d, r13d
mov r8d, 0x250
mov rcx, r14
mov dl, 0xaa
call fcn.1400a1ce0
mov rcx, r15
mov rdx, r14
call fcn.14003edb0
mov edx, dword [rsp + 0x58]
test dl, 1
jne 0x14002adc1
mov rcx, r14
call fcn.14003ebc0
test al, al
jne 0x14002ae16
cmp byte [rsp + 0x57], 0
mov rcx, rdi
jns 0x14002ad1b
mov rcx, qword [rsp + 0x40]
call r12
test eax, eax
jne 0x14002ae0f
call rbx
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test r13d, r13d
cmovne ebp, r13d
mov rcx, r14
call fcn.140018990
mov rcx, r15
mov rdx, r14
call fcn.14003ee00
mov rcx, rdi
mov rdx, r14
call fcn.14002d8d0
mov rcx, r14
call fcn.140072090
movzx eax, byte [rsp + 0x57]
test al, al
js 0x14002ad73
and eax, 0x7f
jmp 0x14002ad78
mov rax, qword [rsp + 0x48]
mov r13d, ebp
test rax, rax
jne 0x14002acd4
lea rcx, [rsp + 0x40]
call fcn.140072090
lea rcx, [rsp + reloc.SHELL32.dll_IsUserAnAdmin]
call fcn.14003ed40
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14009fb90
mov eax, ebp
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsp + 0x37], 0
je 0x14002ade9
cmp byte [rsp + 0x57], 0
js 0x14002add6
lea rcx, [rsp + 0x40]
jmp 0x14002addb
mov rcx, qword [rsp + 0x40]
and edx, 0xfffffffe
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x14002acfc
lea rcx, [rsp + 0x58]
call fcn.14003ebc0
test al, al
jne 0x14002adfd
mov edx, dword [rsp + 0x58]
jmp 0x14002adc8
lea rcx, [rsp + 0x58]
call fcn.14003ebc0
test al, al
je 0x14002ad0c
xor ebp, ebp
jmp 0x14002ad38
xor ebp, ebp
cmp byte [rsp + 0x37], 0
je 0x14002ad38
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x38], rcx
mov rdx, rsi
mov r8b, 1
call fcn.14002ac10
mov ebp, eax
test eax, eax
jne 0x14002ad38
cmp byte [rsp + 0x57], 0
jns 0x14002ae53
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14002ad38
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x14002ad38
Function at 0x14002b150
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [0x14011c230]
lea rdi, [rsp + 0x50]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str....._base_file_version_info_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x4d
call fcn.140076130
mov rcx, rdi
mov rdx, r14
xor r8d, r8d
call fcn.140076160
mov dword [rsp + 0x2c], 0xaaaaaaaa
cmp byte [rbx + 0x17], 0
jns 0x14002b1d6
mov rbx, qword [rbx]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14002b202
mov ebp, eax
mov r14d, eax
mov rcx, r14
call fcn.14009e668
mov rdi, rax
lea r15, [rax + r14]
xor eax, eax
jmp 0x14002b346
mov qword [rsi], 0
jmp 0x14002b315
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
mov r8d, ebp
mov r9, rdi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14002b38a
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002b38a
mov r13, qword [rsp + 0x30]
test r13, r13
je 0x14002b38a
mov ecx, 0x38
call fcn.14009e668
mov rbx, rax
movzx r12d, word [r13]
movzx ebp, word [r13 + 2]
lea rax, fcn.14002b470
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
movabs r14, 0xfffffffc00000000
mov rax, rdi
and rax, r14
cmp rax, qword [0x140143bc8]
jne 0x14002b2b6
mov rcx, rdi
call fcn.140079e00
mov qword [rbx + 0x20], rdi
mov word [rbx + 0x28], r12w
mov word [rbx + 0x2a], bp
lea r8, [rsp + 0x30]
mov qword [r8], 0
lea r9, [rsp + 0x9c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x140120062]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002b3ce
mov rdi, qword [rsp + 0x30]
and r14, rdi
cmp r14, qword [0x140143bc8]
jne 0x14002b30e
mov rcx, rdi
call fcn.140079e00
mov qword [rbx + 0x30], rdi
mov qword [rsi], rbx
lea rcx, [rsp + 0x50]
call fcn.1400761e0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14009fb90
mov rax, rsi
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
add rcx, rax
je 0x14002b35e
mov byte [rcx], 0
inc rax
cmp r14, rax
jne 0x14002b346
jmp 0x14002b20e
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400d5940
mov qword [rsi], 0
test rdi, rdi
je 0x14002b315
dec r15
cmp r15, r14
jae 0x14002b3d1
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1400d5940
int3
mov rcx, rdi
call fcn.14009e6a4
jmp 0x14002b315
Function at 0x14002fbf0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140152d88]
test rdi, rdi
jne 0x14002fca3
mov ecx, 0x50
call fcn.14009e668
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.14009e668
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002fcc5
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 [0x140152d88], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002fcf1
mov rcx, rax
call fcn.1400be468
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002fd20
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009fb90
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_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400d5940
lea rax, str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string_view
lea r9, str.__s___nullptr
mov r8d, 0x109
call fcn.1400d5940
int3
Function at 0x14002fd20
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 [0x140141038]
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.14003c2f0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002feb0
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1401203c8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002ff49
lea rdx, [0x140120418]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002ff2d
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x14016c008]
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 0x14002ff3f
test r12d, r12d
js 0x14002ff35
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.14009e668
mov rbx, rax
mov qword [rsp + 0x30], rax
add r15, rax
mov qword [rsp + 0x40], r15
xor r13d, r13d
xor r15d, r15d
mov rcx, rbx
add rcx, r13
je 0x14002fed5
mov rdx, qword [r14 + r15]
call fcn.1400d4c10
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14002fe22
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002f920
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002fe76
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002feb0
cmp r15, rbx
je 0x14002fea8
add r15, 0xffffffffffffffe8
jmp 0x14002fe9a
mov rcx, qword [r15]
call fcn.14009e6a4
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14002fea8
test r15, r15
je 0x14002ff01
cmp byte [r15 + 0x17], 0
jns 0x14002fe8e
jmp 0x14002fe86
mov rcx, rbx
call fcn.14009e6a4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009fb90
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_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x28
call fcn.1400d5940
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x44
call fcn.1400d5940
xor r14d, r14d
jmp 0x14002fdd4
lea rcx, [rsp + 0x30]
call fcn.1400d57d0
xor r15d, r15d
xor ebx, ebx
jmp 0x14002fe4f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002fdd1
Function at 0x140032ed0
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 [0x140141038]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdx, qword [0x140152dd0]
test rdx, rdx
jne 0x140032fe7
mov ecx, 0x18
call fcn.14009e668
mov rbx, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
xor r15d, r15d
mov qword [rax + 0x10], r15
mov qword [0x140152dd0], rax
mov ecx, 0x18
call fcn.14009e668
mov r14, rax
movups xmmword [rax], xmm6
mov qword [rax + 0x10], r15
mov qword [0x140152dd8], rax
call fcn.140035600
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.1400d4c10
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r13, [rsp + 0x20]
mov rcx, r13
mov rdx, rax
call fcn.1400d4c10
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov rdx, r13
mov r8, r12
call fcn.140033f60
mov rcx, rbp
mov rdx, r15
mov r8, rbx
mov r9, r14
call fcn.140032650
mov ebx, eax
cmp byte [rbp + 0x17], 0
jns 0x140032fb6
mov rcx, qword [rsp + 0x50]
call fcn.14009e6a4
cmp byte [rsp + 0x37], 0
jns 0x140032fc7
mov rcx, qword [rsp + 0x20]
call fcn.14009e6a4
cmp byte [rsp + 0x4f], 0
jns 0x140032fd8
mov rcx, qword [rsp + 0x38]
call fcn.14009e6a4
test bl, bl
je 0x1400330ce
mov rdx, qword [0x140152dd0]
cmp rdx, rdi
je 0x140033012
cmp byte [rdi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x140033090
test r8b, r8b
jns 0x140033070
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rdi
mov rdx, rax
call fcn.140028430
mov dil, 1
test rsi, rsi
je 0x140033048
mov rdx, qword [0x140152dd8]
cmp rdx, rsi
je 0x140033048
cmp byte [rsi + 0x17], 0
movzx r8d, byte [rdx + 0x17]
js 0x1400330af
test r8b, r8b
jns 0x140033080
mov rax, qword [rdx]
mov r8, qword [rdx + 8]
mov rcx, rsi
mov rdx, rax
call fcn.140028430
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009fb90
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 0x140033012
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rdx]
movups xmmword [rsi], xmm0
jmp 0x140033048
test r8b, r8b
js 0x14003309b
and r8d, 0x7f
jmp 0x1400330a2
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
mov rcx, rdi
call fcn.140028340
jmp 0x140033012
test r8b, r8b
jns 0x1400330bd
mov r8, qword [rdx + 8]
mov rdx, qword [rdx]
jmp 0x1400330c1
and r8d, 0x7f
mov rcx, rsi
call fcn.140028340
jmp 0x140033048
xor edi, edi
jmp 0x140033048
Function at 0x140033780
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a1ce0
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 0x140033809
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400338d2
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400337f4
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400b9bf8
test eax, eax
je 0x1400338f5
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 0x140033860
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400338e0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003384b
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400b9bf8
test eax, eax
je 0x140033925
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 0x1400338b3
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x1400338ee
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003389e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400b9bf8
test eax, eax
je 0x14003395c
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14009fb90
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
dec rbx
jne 0x1400337dc
jmp 0x140033809
dec rbx
jne 0x140033833
jmp 0x140033860
dec rbx
jne 0x14003388a
jmp 0x1400338b3
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033902
and eax, 0x7f
jmp 0x140033906
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400338b5
mov rcx, rsi
mov rdx, rbx
call fcn.1400d7550
cmp word [rax], 0x5c
jne 0x140033809
jmp 0x1400338b5
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033932
and eax, 0x7f
jmp 0x140033936
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400338b5
mov rcx, rsi
mov rdx, rbx
call fcn.1400d7550
cmp word [rax], 0x5c
jne 0x140033860
jmp 0x1400338b5
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033969
and eax, 0x7f
jmp 0x14003396d
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x1400338b5
mov rcx, rsi
mov rdx, rbx
call fcn.1400d7550
cmp word [rax], 0x5c
jne 0x1400338b3
jmp 0x1400338b5
Function at 0x140034320
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140141038]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, rdx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140034581
mov ebx, eax
mov r15d, eax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x14011c230]
movaps xmmword [rsp + 0x40], xmm0
cmp ebx, 0xb
jae 0x1400344d2
lea r14, [rsp + 0x40]
mov byte [r14 + 0x17], bl
lea r8, [r15 + r15]
mov rcx, r14
xor edx, edx
call fcn.1400a1ce0
mov word [r14 + r15*2], 0
cmp byte [rsp + 0x57], 0
js 0x1400343ad
lea rdx, [rsp + 0x40]
jmp 0x1400343b2
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x14003455f
mov edx, eax
mov cl, byte [rsp + 0x57]
movzx edi, cl
mov r9d, edi
and r9d, 0x7f
test dil, dil
mov r8, qword [rsp + 0x48]
cmovs r9, r8
cmp r9, rdx
jbe 0x14003455f
mov r14, rdx
test cl, cl
jns 0x140034455
sub r14, r8
ja 0x14003446f
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rdx
lea rax, [rcx + rdx*2]
mov word [rax], 0
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
cmp byte [rsp + 0x57], 0
js 0x140034572
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009fb90
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
sub r14, rdi
ja 0x140034466
and al, 0x7f
lea rcx, [rsp + 0x40]
mov byte [rcx + 0x17], al
jmp 0x140034401
je 0x14003440a
mov edx, 0xa
jmp 0x140034488
je 0x14003440a
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
btr rdx, 0x3f
dec rdx
shr rcx, 0x38
mov rdi, r8
mov rax, rdx
sub rax, rdi
cmp rax, r14
jb 0x140034520
test cl, cl
jns 0x1400344a2
mov rbx, qword [rsp + 0x40]
jmp 0x1400344a7
lea rbx, [rsp + 0x40]
lea rcx, [rbx + rdi*2]
lea r8, [r14 + r14]
xor edx, edx
call fcn.1400a1ce0
add rdi, r14
cmp byte [rsp + 0x57], 0
jns 0x140034552
mov qword [rsp + 0x48], rdi
lea rax, [rbx + rdi*2]
jmp 0x140034405
mov eax, r15d
and eax, 0xfffffffc
add rax, 4
mov r12, r15
or r12, 3
cmp r12, 0xb
cmove r12, rax
lea rcx, [r12*2 + 2]
call fcn.14009e668
mov r14, rax
mov qword [rsp + 0x40], rax
movabs rax, 0x7fffffffffffffff
add rax, r12
add rax, 2
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
jmp 0x14003438a
mov r8, r14
sub r8, rdx
add r8, rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rdi
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9, rdi
call fcn.1400631f0
mov qword [rbx + 8], rdi
mov cl, byte [rbx + 0x17]
jmp 0x140034497
mov eax, edi
and al, 0x7f
mov byte [rsp + 0x57], al
jmp 0x1400344c9
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x14003442c
mov rcx, qword [rsp + 0x40]
call fcn.14009e6a4
jmp 0x140034437
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 0
jmp 0x140034437