joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140028eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400e8b20]
lea rsi, [rsp + 0x40]
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, [0x1400f54dc]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.140057450
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005bf70
cmp byte [rdi + 0x17], 0
jns 0x140028f22
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.14005bff0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007a130
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400e8b20]
lea rsi, [rsp + 0x40]
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, [0x1400f54dc]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x233
call fcn.140057450
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.14005bf70
cmp byte [rdi + 0x17], 0
jns 0x140028fd2
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.14005bff0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14007a130
mov eax, edi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x140029020
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14007c270
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x1400290bf
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140095438
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140057620
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.14002d030
mov rcx, rsi
mov rdx, r14
call fcn.14002c600
mov rcx, r14
call fcn.140057770
mov rcx, rbx
call fcn.140057770
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14007a130
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400290f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14007c270
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 0x140029185
cmp word [rsp + 0x70], 0
je 0x140029185
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140095438
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.140057620
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.14007a130
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 [0x1400e8b20]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400575e0
mov rcx, rdi
call fcn.140029020
test al, al
jne 0x1400291d7
lea rax, [0x1400f552e]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.140057620
jmp 0x1400291e4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140057600
lea rcx, [rsp + 0x40]
call fcn.140057770
jmp 0x140029167
Function at 0x14002a0e0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002a290
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400929b4
movaps xmm6, xmmword [0x1400e8b20]
lea r14, [rsp + 0x80]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.ReadStreamToSpanWithMaxSize
lea r8, str....._base_files_file_util.cc
lea r15, [rsp + 0x40]
mov rcx, r15
mov r9d, 0x48
call fcn.140057450
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14005bf70
xorps xmm0, xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
mov dword [r15 + 0x30], 0
mov rcx, rbx
call fcn.14008bbe8
mov ecx, eax
call fcn.14008bc3c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002a294
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov r14d, 0xffff
cmovg r14, rax
cmp r14, rdi
cmovae r14, rdi
inc r14
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm6
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, r14
call qword [0x140131008]
xor r12d, r12d
mov rcx, qword [rsp + 0x30]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.14009263c
test rax, rax
je 0x14002a233
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002a29f
add r15, r12
mov rcx, rbx
call fcn.140091ea4
test eax, eax
je 0x14002a2a3
mov r12, r15
mov rcx, rbx
call fcn.140091ed0
test eax, eax
sete bl
mov rdi, r12
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x20]
mov r8, rdi
call qword [0x140131008]
lea rcx, [rsp + 0x80]
call fcn.14005bff0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.14007a130
mov eax, ebx
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x14002a265
mov r14d, 0xffff
jmp 0x14002a1d1
xor ebx, ebx
jmp 0x14002a243
test r12, r12
mov eax, 0x10000
cmove r14, rax
lea r8, [r15 + r14]
mov rdx, qword [rsi]
mov rax, qword [rsi + 8]
lea r12, [rsp + 0x20]
mov rcx, r12
call qword [0x140131008]
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x30], xmm0
mov r12, r15
jmp 0x14002a1f6
Function at 0x14002afd0
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
call fcn.14002b0c0
mov eax, dword [rsi]
mov dword [0x14010b528], eax
test al, 1
jne 0x14002aff1
mov al, 1
add rsp, 0x30
pop rsi
ret
mov rcx, qword [0x14011a828]
test rcx, rcx
jne 0x14002b00b
mov rcx, qword [0x14011a800]
test rcx, rcx
je 0x14002b02f
jmp 0x14002b051
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14011a828], 0
mov rcx, qword [0x14011a800]
test rcx, rcx
jne 0x14002b051
and byte [0x14010b528], 0xfe
mov ecx, 0x18
call fcn.140078b64
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x14011a800], rax
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x14002b086
call fcn.140026820
cmp dword [rsi + 0x14], 0
jne 0x14002b07b
mov rcx, qword [0x14011a800]
cmp byte [rcx + 0x17], 0
jns 0x14002b075
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x30
pop rsi
jmp fcn.1400c5380
lea rax, str.string::assign_received_nullptr
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_string
lea r9, str.__s___nullptr
mov r8d, 0xa51
call fcn.1400aba60
int3
Function at 0x14002dac0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x14011a8e0]
test rdi, rdi
jne 0x14002db73
mov ecx, 0x50
call fcn.140078b64
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140078b64
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x14002db95
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 [0x14011a8e0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002dbc1
mov rcx, rax
call fcn.140095438
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002dbf0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007a130
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.1400aba60
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.1400aba60
int3
Function at 0x14002dbf0
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 [0x140109038]
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.140027c90
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14002dd80
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400f5798]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14002de19
lea rdx, [0x1400f57e8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002ddfd
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x140131008]
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 0x14002de0f
test r12d, r12d
js 0x14002de05
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140078b64
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 0x14002dda5
mov rdx, qword [r14 + r15]
call fcn.1400ac600
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x14002dcf2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002d7f0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x14002dd46
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x14002dd80
cmp r15, rbx
je 0x14002dd78
add r15, 0xffffffffffffffe8
jmp 0x14002dd6a
mov rcx, qword [r15]
call fcn.140078ba0
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x14002dd78
test r15, r15
je 0x14002ddd1
cmp byte [r15 + 0x17], 0
jns 0x14002dd5e
jmp 0x14002dd56
mov rcx, rbx
call fcn.140078ba0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14007a130
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.1400aba60
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.1400aba60
xor r14d, r14d
jmp 0x14002dca4
lea rcx, [rsp + 0x30]
call fcn.1400ab9d0
xor r15d, r15d
xor ebx, ebx
jmp 0x14002dd1f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002dca1
Function at 0x1400304f0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14007c270
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 0x140030579
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140030642
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140030564
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400902b0
test eax, eax
je 0x140030665
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 0x1400305d0
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140030650
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x1400305bb
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400902b0
test eax, eax
je 0x140030695
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 0x140030623
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x14003065e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14003060e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400902b0
test eax, eax
je 0x1400306cc
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.14007a130
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
dec rbx
jne 0x14003054c
jmp 0x140030579
dec rbx
jne 0x1400305a3
jmp 0x1400305d0
dec rbx
jne 0x1400305fa
jmp 0x140030623
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140030672
and eax, 0x7f
jmp 0x140030676
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140030625
mov rcx, rsi
mov rdx, rbx
call fcn.1400ad7a0
cmp word [rax], 0x5c
jne 0x140030579
jmp 0x140030625
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400306a2
and eax, 0x7f
jmp 0x1400306a6
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140030625
mov rcx, rsi
mov rdx, rbx
call fcn.1400ad7a0
cmp word [rax], 0x5c
jne 0x1400305d0
jmp 0x140030625
movzx eax, byte [rsi + 0x17]
test al, al
js 0x1400306d9
and eax, 0x7f
jmp 0x1400306dd
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140030625
mov rcx, rsi
mov rdx, rbx
call fcn.1400ad7a0
cmp word [rax], 0x5c
jne 0x140030623
jmp 0x140030625
Function at 0x140032000
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x14011a930]
mov ecx, dword [0x140117750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140032060
lea rsi, [0x14011a928]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14007a130
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x14011a930]
call fcn.140078cc0
cmp dword [0x14011a930], 0xffffffff
jne 0x14003203c
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14007c270
mov dword [rsi - 4], 0x11c
lea rsi, [rsp + 0x34]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
lea rdi, [rsp + 0x30]
mov dword [rdi], 0
mov ecx, dword [rsi + 4]
mov edx, dword [rsi + 8]
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.140078b64
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x14011a978]
mov ecx, dword [0x140117750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140032120
lea r8, [0x14011a948]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.140032220
mov qword [0x14011a928], rsi
lea rcx, [0x14011a930]
call fcn.140078d58
jmp 0x14003203c
lea rcx, [0x14011a978]
call fcn.140078cc0
cmp dword [0x14011a978], 0xffffffff
jne 0x1400320f1
xorps xmm0, xmm0
movups xmmword [0x14011a968], xmm0
movups xmmword [0x14011a958], xmm0
movups xmmword [0x14011a948], xmm0
lea rcx, [0x14011a948]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14011a978]
call fcn.140078d58
jmp 0x1400320f1

Function at 0x140032170
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x14011a978]
mov ecx, dword [0x140117750]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400321ab
movzx eax, word [0x14011a948]
cmp eax, 9
jne 0x1400321f3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x14011a978]
call fcn.140078cc0
cmp dword [0x14011a978], 0xffffffff
jne 0x140032195
xorps xmm0, xmm0
movups xmmword [0x14011a968], xmm0
movups xmmword [0x14011a958], xmm0
movups xmmword [0x14011a948], xmm0
lea rcx, [0x14011a948]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x14011a978]
call fcn.140078d58
jmp 0x140032195
test eax, eax
je 0x1400321a6
cmp eax, 6
jne 0x140032203
mov eax, 2
jmp 0x1400321a6
cmp eax, 0xc
jne 0x14003220f
mov eax, 3
jmp 0x1400321a6
mov eax, 4
jmp 0x1400321a6
Function at 0x140034d10
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
cmp dword [rcx + 0x10], 0
jne 0x140034dfe
cmp qword [rsi], 0
jne 0x140034dfe
cmp dword [rsi + 0x14], 0
jne 0x140034dfe
cmp qword [rsi + 8], 0
jne 0x140034dfe
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140034d80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140034dd0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140034d78
mov qword [rsi], r14
call fcn.140057470
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x140034dba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140034de6
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140034db2
mov qword [rsi + 8], r14
call fcn.140057470
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0x10], eax
mov eax, dword [rdi + 0x14]
mov dword [rsi + 0x14], eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140057470
mov rcx, qword [rsi]
call fcn.140051a90
mov qword [rsi], 0
jmp 0x140034d66
call fcn.140057470
mov rcx, qword [rsi + 8]
call fcn.140051a90
mov qword [rsi + 8], 0
jmp 0x140034d9f
mov rcx, rsi
call fcn.1400c9fb0
mov rax, qword [rsi]
jmp 0x140034d4a
Function at 0x140039c60
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x1400e8b20]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x140039ddc
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x14011b0d0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.14009588c
mov rcx, rbx
call fcn.140095438
sub r14, rax
lea rdx, [0x1400ec274]
mov rcx, rbx
mov r8, r14
call fcn.14009588c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.14007c270
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140039d3c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400958d4
test eax, eax
je 0x140039e00
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x140039d77
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400958d4
test eax, eax
je 0x140039e00
xor eax, eax
mov byte [0x14011acc1], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400f6548]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140039e07
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x140131008]
test eax, eax
je 0x140039e07
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x14011b2d0], al
mov byte [0x14011acc0], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007a130
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140039d79
xor eax, eax
jmp 0x140039dcf
Function at 0x14003a0f0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140109038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x14003a123
mov rax, qword [rsi + 8]
test rax, rax
je 0x14003a220
bt ebx, 8
jae 0x14003a13f
mov eax, ebx
and eax, 0x200
jne 0x14003a220
cmp edi, 2
lea rax, [0x14011acd0]
lea rcx, [0x14011aed0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14003a220
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x14003a220
cmp byte [0x14011b2d0], 0
setne al
bt ebx, 8
jb 0x14003a220
shr ebx, 9
and ebx, 1
or bl, al
je 0x14003a220
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x14003a23f
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x14003a209
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400902b0
test eax, eax
je 0x14003a244
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x14003a1e9
cmp dword [rsp + 0x2c], 0
jne 0x14003a2c2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007a130
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x14003a1cc
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14003a252
test ecx, ecx
jne 0x14003a209
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x14003a281
cmp dword [rsp + 0x2c], 2
jne 0x14003a292
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x14003a292
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x14003a2ab
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14003a298
jmp 0x14003a2ae
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x14003a210
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14003a2ce
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1400c2cc0
jmp 0x14003a220