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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rdi, rcx
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movaps xmm0, xmmword [0x1400f0950]
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, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x20b
call fcn.14005b300
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140060a30
cmp byte [rdi + 0x17], 0
jns 0x14002d112
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.140060c70
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140079460
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002d150
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.14007b5a0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002d1ef
lea r14, [rsp + 0x20]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140094c58
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.14005b4c0
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.1400308b0
mov rcx, rsi
mov rdx, r14
call fcn.14005b690
mov rcx, r14
call fcn.14005b610
mov rcx, rbx
call fcn.14005b610
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140079460
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002d220
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14007b5a0
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 0x14002d2ce
cmp word [rsp + 0x70], 0
je 0x14002d2ce
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.140094c58
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.14005b4c0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140079460
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14005b4a0
lea rcx, [rsp + 0x40]
call fcn.14005b610
jmp 0x14002d297
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1400f0950]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.14005b480
mov rcx, rdi
call fcn.14002d150
test al, al
jne 0x14002d2b5
lea rax, [0x1400f64f8]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.14005b4c0
jmp 0x14002d2c2
Function at 0x14002e060
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 [0x14010d038]
xor rax, rsp
mov qword [rsp + 0xc8], rax
test rcx, rcx
je 0x14002e210
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
xor r8d, r8d
call fcn.1400921d0
movaps xmm6, xmmword [0x1400f0950]
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.14005b300
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.140060a30
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.14008b00c
mov ecx, eax
call fcn.14008b06c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14002e214
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 + 0x38]
add rcx, r12
mov edx, 1
mov r8, r14
mov r9, rbx
call fcn.140091e58
test rax, rax
je 0x14002e1b3
mov r15, rax
mov rax, rdi
sub rax, r12
cmp rax, r15
jb 0x14002e21f
add r15, r12
mov rcx, rbx
call fcn.1400916c0
test eax, eax
je 0x14002e223
mov r12, r15
mov rcx, rbx
call fcn.1400916ec
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.140060c70
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140079460
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 0x14002e1e5
mov r14d, 0xffff
jmp 0x14002e151
xor ebx, ebx
jmp 0x14002e1c3
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 0x14002e176
Function at 0x14002f490
Capabilities:
Delete file
Get common file path

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
call fcn.14002f550
mov eax, dword [rsi]
mov dword [0x14011c6a8], eax
test al, 1
jne 0x14002f4b1
mov al, 1
add rsp, 0x20
pop rsi
ret
mov rcx, qword [0x140125280]
test rcx, rcx
jne 0x14002f4cb
mov rcx, qword [0x140125258]
test rcx, rcx
je 0x14002f4ef
jmp 0x14002f511
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140125280], 0
mov rcx, qword [0x140125258]
test rcx, rcx
jne 0x14002f511
and byte [0x14011c6a8], 0xfe
mov ecx, 0x18
call fcn.140077e94
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140125258], rax
mov rdx, qword [rsi + 8]
call fcn.1400304a0
cmp dword [rsi + 0x14], 0
jne 0x14002f536
mov rcx, qword [0x140125258]
cmp byte [rcx + 0x17], 0
jns 0x14002f530
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
add rsp, 0x20
pop rsi
jmp fcn.1400d1320
Function at 0x140031230
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140125300]
test rdi, rdi
jne 0x1400312e3
mov ecx, 0x50
call fcn.140077e94
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.140077e94
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140031305
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 [0x140125300], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140031331
mov rcx, rax
call fcn.140094c58
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140031360
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140079460
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.1400b6120
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.1400b6120
int3
Function at 0x140031360
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 [0x14010d038]
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.14002c3d0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400314f4
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, [0x1400f66f8]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14003152b
lea rdx, [0x1400f6748]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140031519
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 0x140031521
test r12d, r12d
js 0x140031596
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.140077e94
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 0x14003153e
mov rdx, qword [r14 + r15]
call fcn.1400b6880
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x140031462
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140030f60
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400314b6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x1400314f4
cmp r15, rbx
je 0x1400314ec
add r15, 0xffffffffffffffe8
jmp 0x1400314da
mov rcx, qword [r15]
call fcn.140077ed0
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x1400314ec
test r15, r15
je 0x14003156a
cmp byte [r15 + 0x17], 0
jns 0x1400314ce
jmp 0x1400314c6
mov rcx, rbx
call fcn.140077ed0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140079460
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x140031414
xor r15d, r15d
xor ebx, ebx
jmp 0x14003148f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140031411
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.1400b6120
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.1400b6120
lea rcx, [rsp + 0x30]
call fcn.1400afae0
int3
Function at 0x140033c40
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14007b5a0
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 0x140033cc9
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140033d8e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140033cb4
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.14008facc
test eax, eax
je 0x140033e14
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 0x140033d20
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140033d9c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140033d0b
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.14008facc
test eax, eax
je 0x140033ddd
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 0x140033d6f
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140033daa
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140033d5e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.14008facc
test eax, eax
je 0x140033db1
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.140079460
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
dec rbx
jne 0x140033c9c
jmp 0x140033cc9
dec rbx
jne 0x140033cf3
jmp 0x140033d20
dec rbx
jne 0x140033d4a
jmp 0x140033d6f
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033dbe
and eax, 0x7f
jmp 0x140033dc2
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140033d71
mov rcx, rsi
mov rdx, rbx
call fcn.14004f540
cmp word [rax], 0x5c
jne 0x140033d6f
jmp 0x140033d71
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033dea
and eax, 0x7f
jmp 0x140033dee
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140033d71
mov rcx, rsi
mov rdx, rbx
call fcn.14004f540
cmp word [rax], 0x5c
jne 0x140033d20
jmp 0x140033d71
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140033e21
and eax, 0x7f
jmp 0x140033e25
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140033d71
mov rcx, rsi
mov rdx, rbx
call fcn.14004f540
cmp word [rax], 0x5c
jne 0x140033cc9
jmp 0x140033d71
Function at 0x1400371b0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401253e8]
mov ecx, dword [0x14011c7a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140037210
lea rsi, [0x1401253e0]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140079460
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401253e8]
call fcn.140077ff0
cmp dword [0x1401253e8], 0xffffffff
jne 0x1400371ec
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.14007b5a0
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.140077e94
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x140125430]
mov ecx, dword [0x14011c7a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400372d0
lea r8, [0x140125400]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400373d0
mov qword [0x1401253e0], rsi
lea rcx, [0x1401253e8]
call fcn.140078088
jmp 0x1400371ec
lea rcx, [0x140125430]
call fcn.140077ff0
cmp dword [0x140125430], 0xffffffff
jne 0x1400372a1
xorps xmm0, xmm0
movups xmmword [0x140125420], xmm0
movups xmmword [0x140125410], xmm0
movups xmmword [0x140125400], xmm0
lea rcx, [0x140125400]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140125430]
call fcn.140078088
jmp 0x1400372a1

Function at 0x140037320
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140125430]
mov ecx, dword [0x14011c7a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003735b
movzx eax, word [0x140125400]
cmp eax, 9
jne 0x1400373a3
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x140125430]
call fcn.140077ff0
cmp dword [0x140125430], 0xffffffff
jne 0x140037345
xorps xmm0, xmm0
movups xmmword [0x140125420], xmm0
movups xmmword [0x140125410], xmm0
movups xmmword [0x140125400], xmm0
lea rcx, [0x140125400]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x140125430]
call fcn.140078088
jmp 0x140037345
test eax, eax
je 0x140037356
cmp eax, 6
jne 0x1400373b3
mov eax, 2
jmp 0x140037356
cmp eax, 0xc
jne 0x1400373bf
mov eax, 3
jmp 0x140037356
mov eax, 4
jmp 0x140037356
Function at 0x140038910
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp r8, 0x30
ja 0x140038a61
mov r14, r8
mov r15, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x1400f0950]
lea rdi, [rsp + 0x40]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi - 0x10], xmm0
movaps xmmword [rdi - 0x20], xmm0
lea r12, [rsp + 0x30]
lea rbx, [rcx + 0x108]
mov eax, dword [rcx + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rcx + 0x114], eax
mov rax, qword [rcx + 0xf8]
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov r8, rsi
call qword [0x140131008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, r12
mov r8, rsi
call qword [0x140131008]
mov eax, dword [rsi + 0x114]
bswap eax
inc eax
bswap eax
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call qword [0x140131008]
test r14, r14
je 0x1400389f3
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x20], cl
inc rax
cmp r14, rax
jne 0x1400389e3
lea r14, [rsi + 0xf8]
mov ecx, 1
call fcn.1400614b0
lea rcx, [rsp + 0x20]
mov edx, 0x100
mov r8, rsi
bt eax, 0x19
jae 0x140038a65
call fcn.140003260
lea rax, [0x140001d60]
test r14, r14
je 0x140038a32
lea rcx, section..text
mov qword [r14], rcx
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140079460
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor esi, esi
jmp 0x140038a44
bt eax, 9
jae 0x140038a85
call fcn.140004350
lea rax, [0x140004820]
test r14, r14
je 0x140038a32
lea rcx, [0x140004520]
jmp 0x140038a2f
call fcn.1400d7590
lea rax, [0x1400d7d90]
test r14, r14
je 0x140038a32
lea rcx, [0x1400d7470]
jmp 0x140038a2f
Function at 0x140038d20
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 0x140038e15
cmp qword [rsi], 0
jne 0x140038e15
cmp dword [rsi + 0x14], 0
jne 0x140038e15
cmp qword [rsi + 8], 0
jne 0x140038e15
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x140038d94
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140038dfc
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140038d8c
mov qword [rsi], r14
call fcn.14005b320
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x140038dce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x140038de4
lea rax, [r14 + 1]
cmp rax, 2
jb 0x140038dc6
mov qword [rsi + 8], r14
call fcn.14005b320
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.14005b320
mov rcx, qword [rsi + 8]
call fcn.140055110
mov qword [rsi + 8], 0
jmp 0x140038db3
call fcn.14005b320
mov rcx, qword [rsi]
call fcn.140055110
mov qword [rsi], 0
jmp 0x140038d7a
mov rcx, rsi
call fcn.1400d8d40
mov rax, qword [rsi]
jmp 0x140038d5a
Function at 0x14003cc00
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x1400f0950]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x14003cd7c
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1401259e0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400950ac
mov rcx, rbx
call fcn.140094c58
sub r14, rax
lea rdx, [0x1400f277c]
mov rcx, rbx
mov r8, r14
call fcn.1400950ac
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.14007b5a0
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 0x14003ccdc
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400950f4
test eax, eax
je 0x14003cda0
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 0x14003cd17
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400950f4
test eax, eax
je 0x14003cda0
xor eax, eax
mov byte [0x1401255d5], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400fa4e4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14003cda7
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 0x14003cda7
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x140125be0], al
mov byte [0x1401255d4], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140079460
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x14003cd19
xor eax, eax
jmp 0x14003cd6f
Function at 0x14003d120
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 [0x14010d038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x14003d153
mov rax, qword [rsi + 8]
test rax, rax
je 0x14003d24c
bt ebx, 8
jae 0x14003d16f
mov eax, ebx
and eax, 0x200
jne 0x14003d24c
cmp edi, 2
lea rax, [0x1401255e0]
lea rcx, [0x1401257e0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x14003d24c
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 0x14003d24c
cmp byte [0x140125be0], 0
setne al
bt ebx, 8
jb 0x14003d24c
shr ebx, 9
and ebx, 1
or bl, al
je 0x14003d24c
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x14003d26b
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 0x14003d239
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.14008facc
test eax, eax
je 0x14003d296
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x14003d219
cmp dword [rsp + 0x2c], 0
jne 0x14003d270
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140079460
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 0x14003d1fc
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x14003d27c
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.1400cc100
jmp 0x14003d24c
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x14003d2a4
test ecx, ecx
jne 0x14003d239
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x14003d2d3
cmp dword [rsp + 0x2c], 2
jne 0x14003d2e4
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x14003d2e4
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x14003d2fd
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14003d2ea
jmp 0x14003d300
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x14003d240