joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400357c0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1401a7150]
test rdi, rdi
jne 0x140035873
mov ecx, 0x50
call fcn.1400b8b9c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov byte [rax + 0x10], 0
mov ecx, 0x18
call fcn.1400b8b9c
mov qword [rsi + 0x18], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x28], rcx
test rax, rax
je 0x140035895
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 [0x1401a7150], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400358c1
mov rcx, rax
call fcn.1400d65e8
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400358f0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ba050
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.1400f7ac0
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.1400f7ac0
int3
Function at 0x1400358f0
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 [0x14018f028]
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.14003f7e0
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x140035a84
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x140035abb
lea rdx, [0x14016ca4e]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140035aa9
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [0x1401b6008]
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 0x140035ab1
test r12d, r12d
js 0x140035b26
shl r12, 3
lea r15, [r12 + r12*2]
mov rcx, r15
call fcn.1400b8b9c
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 0x140035ace
mov rdx, qword [r14 + r15]
call fcn.1400ec140
add r15, 8
add r13, 0x18
cmp r12, r15
jne 0x1400359f2
mov r15, rbx
add r15, r13
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400354f0
movups xmmword [rsi], xmm6
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140035a46
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test rbx, rbx
je 0x140035a84
cmp r15, rbx
je 0x140035a7c
add r15, 0xffffffffffffffe8
jmp 0x140035a6a
mov rcx, qword [r15]
call fcn.1400b8bd8
lea rax, [r15 - 0x18]
cmp r15, rbx
mov r15, rax
je 0x140035a7c
test r15, r15
je 0x140035afa
cmp byte [r15 + 0x17], 0
jns 0x140035a5e
jmp 0x140035a56
mov rcx, rbx
call fcn.1400b8bd8
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400ba050
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 0x1400359a4
xor r15d, r15d
xor ebx, ebx
jmp 0x140035a1f
mov rcx, qword [rbx]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400359a1
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.1400f7ac0
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.1400f7ac0
lea rcx, [rsp + 0x30]
call fcn.1400ec120
int3
Function at 0x140038d20
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x230
mov rsi, rcx
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x228], rax
lea rdi, [rsp + 0x20]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400bc1a0
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 0x140038da9
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140038e6e
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140038d94
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400d1b84
test eax, eax
je 0x140038ef4
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 0x140038e00
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140038e7c
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140038deb
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400d1b84
test eax, eax
je 0x140038ebd
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 0x140038e4f
mov ebx, eax
cmp word [rsp + rbx*2 + 0x1e], 0x5c
je 0x140038e8a
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x140038e3e
mov rcx, qword [rsi]
lea rdx, [rsp + 0x20]
mov r8, rbx
call fcn.1400d1b84
test eax, eax
je 0x140038e91
xor edi, edi
mov rcx, qword [rsp + 0x228]
xor rcx, rsp
call fcn.1400ba050
mov eax, edi
add rsp, 0x230
pop rbx
pop rdi
pop rsi
ret
dec rbx
jne 0x140038d7c
jmp 0x140038da9
dec rbx
jne 0x140038dd3
jmp 0x140038e00
dec rbx
jne 0x140038e2a
jmp 0x140038e4f
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140038e9e
and eax, 0x7f
jmp 0x140038ea2
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140038e51
mov rcx, rsi
mov rdx, rbx
call fcn.140075a10
cmp word [rax], 0x5c
jne 0x140038e4f
jmp 0x140038e51
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140038eca
and eax, 0x7f
jmp 0x140038ece
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140038e51
mov rcx, rsi
mov rdx, rbx
call fcn.140075a10
cmp word [rax], 0x5c
jne 0x140038e00
jmp 0x140038e51
movzx eax, byte [rsi + 0x17]
test al, al
js 0x140038f01
and eax, 0x7f
jmp 0x140038f05
mov rax, qword [rsi + 8]
mov dil, 1
cmp rax, rbx
je 0x140038e51
mov rcx, rsi
mov rdx, rbx
call fcn.140075a10
cmp word [rax], 0x5c
jne 0x140038da9
jmp 0x140038e51
Function at 0x14003b380
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov eax, dword [0x1401a71f0]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b3e0
lea rsi, [0x1401a71e8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400ba050
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1401a71f0]
call fcn.1400b8cf0
cmp dword [0x1401a71f0], 0xffffffff
jne 0x14003b3bc
lea rsi, [rsp + 0x38]
mov r8d, 0x118
mov rcx, rsi
xor edx, edx
call fcn.1400bc1a0
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.1400b8b9c
mov rsi, rax
mov edi, dword [rdi]
mov eax, dword [0x1401a7238]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b4a0
lea r8, [0x1401a7208]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.14003b5a0
mov qword [0x1401a71e8], rsi
lea rcx, [0x1401a71f0]
call fcn.1400b8d88
jmp 0x14003b3bc
lea rcx, [0x1401a7238]
call fcn.1400b8cf0
cmp dword [0x1401a7238], 0xffffffff
jne 0x14003b471
xorps xmm0, xmm0
movups xmmword [0x1401a7228], xmm0
movups xmmword [0x1401a7218], xmm0
movups xmmword [0x1401a7208], xmm0
lea rcx, [0x1401a7208]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a7238]
call fcn.1400b8d88
jmp 0x14003b471

Function at 0x14003b4f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1401a7238]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003b52b
movzx eax, word [0x1401a7208]
cmp eax, 9
jne 0x14003b573
mov eax, 1
add rsp, 0x28
ret
lea rcx, [0x1401a7238]
call fcn.1400b8cf0
cmp dword [0x1401a7238], 0xffffffff
jne 0x14003b515
xorps xmm0, xmm0
movups xmmword [0x1401a7228], xmm0
movups xmmword [0x1401a7218], xmm0
movups xmmword [0x1401a7208], xmm0
lea rcx, [0x1401a7208]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1401a7238]
call fcn.1400b8d88
jmp 0x14003b515
test eax, eax
je 0x14003b526
cmp eax, 6
jne 0x14003b583
mov eax, 2
jmp 0x14003b526
cmp eax, 0xc
jne 0x14003b58f
mov eax, 3
jmp 0x14003b526
mov eax, 4
jmp 0x14003b526
Function at 0x14003bf30
Capabilities:
Create thread

Disassembly:
jmp 0x14003bf30
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov edi, r9d
mov r14, r8
mov r15, rdx
mov rbx, rcx
xor ebp, ebp
test rcx, rcx
setne bpl
mov r13d, dword [rsp + 0xd0]
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x60], rax
shl ebp, 0x10
mov ecx, 0x18
call fcn.1400b8b9c
mov rsi, rax
movabs r12, 0xfffffffc00000000
mov rax, r15
and rax, r12
cmp rax, qword [0x14018fdc8]
jne 0x14003bf9d
mov rcx, r15
call fcn.14006ba50
mov qword [rsi], r15
test r14, r14
setne byte [rsi + 8]
mov dword [rsi + 0xc], edi
mov dword [rsi + 0x10], r13d
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x28], 0
lea r8, [0x14003c3a0]
xor ecx, ecx
mov rdx, rbx
mov r9, rsi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14003c011
test r14, r14
je 0x14003c006
mov qword [r14], rdi
test rdi, rdi
setne bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ba050
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003bfe0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x14003c02a
mov ebp, eax
cmp eax, 0x5af
je 0x14003c02a
cmp ebp, 0xe
jne 0x14003c055
mov rcx, rbx
call fcn.1400ee700
test rsi, rsi
je 0x14003bfe0
mov rcx, qword [rsi]
and r12, rcx
cmp r12, qword [0x14018fdc8]
jne 0x14003c04b
call fcn.14006bba0
mov rcx, rsi
call fcn.1400b8bd8
jmp 0x14003bfe0
mov eax, dword [0x1401a7290]
mov ecx, dword [0x14019e7d0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003c0d8
lea rbx, [rsp + 0x38]
mov rcx, rbx
mov edx, ebp
call fcn.14003f230
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x14003c095
and r8d, 0x7f
jmp 0x14003c09f
mov r8, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
lea r14, [rsp + 0x50]
mov rcx, r14
mov rdx, rbx
call fcn.140073960
mov rcx, qword [0x1401a7288]
mov rdx, r14
call fcn.140041fe0
cmp byte [rsp + 0x4f], 0
jns 0x14003c032
mov rcx, qword [rsp + 0x38]
call fcn.1400b8bd8
jmp 0x14003c032
lea rcx, [0x1401a7290]
call fcn.1400b8cf0
cmp dword [0x1401a7290], 0xffffffff
jne 0x14003c076
lea rcx, str.create_thread_last_error
mov edx, 0x20
call fcn.140041fb0
mov qword [0x1401a7288], rax
lea rcx, [0x1401a7290]
call fcn.1400b8d88
jmp 0x14003c076
Function at 0x14003c8b0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140166548]
mov qword [rcx], rax
add rcx, 8
call fcn.140088fc0
lea rcx, [rsi + 0x10]
call fcn.140088fc0
xor ebx, ebx
mov byte [rsi + 0x18], bl
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], ebx
call fcn.140088fc0
mov byte [rsi + 0x48], bl
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], rbx
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov ebp, 0x3f800000
mov dword [rsi + 0xd0], ebp
mov dword [rsi + 0xd8], ebx
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], ebp
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], ebp
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], ebp
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], ebp
mov qword [rsi + 0x198], rbx
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], ebx
mov eax, dword [0x140174054]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140046140
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], ebp
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], bl
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], bl
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], rbx
call fcn.140018990
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x190], eax
mov eax, eax
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x188], rax
mov edx, dword [rsi + 0x1a0]
mov rax, qword [rsi + 0x1b0]
mov rcx, rax
shr rcx, 6
test dword [0x140174058], edx
je 0x14003caab
cmp rax, 0x40
mov eax, 0x3e8
cmovb rcx, rax
call fcn.14008eb80
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
jne 0x14003cacf
call fcn.140045ca0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.140045d50
mov qword [0x1401a7600], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
test dword [0x14017405c], edx
jne 0x14003caed
test dword [0x140174060], edx
jne 0x14003cae2
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140045ee0
jmp 0x14003ca6c
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [0x1401b6008]
jmp 0x14003ca79
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x14003cac4
cmp rax, 0x40
mov eax, 0x100
jmp 0x14003ca63
Function at 0x14003ef00
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 0x14003eff5
cmp qword [rsi], 0
jne 0x14003eff5
cmp dword [rsi + 0x14], 0
jne 0x14003eff5
cmp qword [rsi + 8], 0
jne 0x14003eff5
xor eax, eax
mov r14, qword [rdi]
cmp rax, r14
je 0x14003ef74
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003efdc
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003ef6c
mov qword [rsi], r14
call fcn.140080280
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rdi + 8]
cmp qword [rsi + 8], r14
je 0x14003efae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jae 0x14003efc4
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14003efa6
mov qword [rsi + 8], r14
call fcn.140080280
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.140080280
mov rcx, qword [rsi + 8]
call fcn.14007c4d0
mov qword [rsi + 8], 0
jmp 0x14003ef93
call fcn.140080280
mov rcx, qword [rsi]
call fcn.14007c4d0
mov qword [rsi], 0
jmp 0x14003ef5a
mov rcx, rsi
call fcn.140117040
mov rax, qword [rsi]
jmp 0x14003ef3a
Function at 0x140042260
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x140167260]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400423dc
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x1401a7a80]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1400d6a3c
mov rcx, rbx
call fcn.1400d65e8
sub r14, rax
lea rdx, [0x14016a36c]
mov rcx, rbx
mov r8, r14
call fcn.1400d6a3c
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.1400bc1a0
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 0x14004233c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d6a84
test eax, eax
je 0x140042400
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 0x140042377
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400d6a84
test eax, eax
je 0x140042400
xor eax, eax
mov byte [0x1401a7679], al
mov dword [rsp + 0x30], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140170ed6]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140042407
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1401b6008]
test eax, eax
je 0x140042407
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x1401a7c80], al
mov byte [0x1401a7678], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400ba050
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x140042379
xor eax, eax
jmp 0x1400423cf
Function at 0x140042780
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 [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400427b3
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400428ac
bt ebx, 8
jae 0x1400427cf
mov eax, ebx
and eax, 0x200
jne 0x1400428ac
cmp edi, 2
lea rax, [0x1401a7680]
lea rcx, [0x1401a7880]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400428ac
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 0x1400428ac
cmp byte [0x1401a7c80], 0
setne al
bt ebx, 8
jb 0x1400428ac
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400428ac
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x1400428cb
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 0x140042899
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1400d1b84
test eax, eax
je 0x1400428f6
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x140042879
cmp dword [rsp + 0x2c], 0
jne 0x1400428d0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400ba050
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 0x14004285c
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400428dc
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.14010db50
jmp 0x1400428ac
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x140042904
test ecx, ecx
jne 0x140042899
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x140042933
cmp dword [rsp + 0x2c], 2
jne 0x140042944
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x140042944
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x14004295d
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x14004294a
jmp 0x140042960
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400428a0
Function at 0x140044910
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, 4
lea r9, [rsp + 0x3c]
mov dword [r9], eax
lea r8, [rsp + 0x38]
mov dword [r8], eax
lea rax, [rsp + 0x34]
mov dword [rax], 0
mov rcx, qword [rcx]
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044998
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x140044982
cmp dword [rsp + 0x38], 4
jne 0x140044982
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ba050
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret
mov edi, eax
jmp 0x140044982
Function at 0x1400449a0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1058
call fcn.1400b9ff0
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14018f028]
xor rax, rsp
mov qword [rsp + 0x1050], rax
lea r14, [rsp + 0x850]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1400bc1a0
lea r9, [rsp + 0x4c]
mov dword [r9], 1
lea rax, [rsp + 0x48]
mov dword [rax], 0x800
mov rcx, qword [rbx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140044a7b
mov eax, dword [rsp + 0x4c]
cmp eax, 1
jne 0x140044afe
lea rbx, [rsp + 0x850]
mov rcx, rbx
call fcn.1400d65e8
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140044ae1
cmp rdi, 0xa
jbe 0x140044a7f
movzx r9d, al
mov edx, 0xa
mov r8, rdi
sub r8, rdx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], 0
mov rcx, rsi
call fcn.14002d430
jmp 0x140044ab1
mov edi, eax
jmp 0x140044ab3
mov rbx, rsi
test rdi, rdi
je 0x140044aa0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x850]
mov rcx, rbx
call fcn.1400bbaf0
mov al, byte [rsi + 0x17]
test al, al
js 0x140044ad2
mov eax, edi
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + rdi*2], 0
xor edi, edi
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1400ba050
mov eax, edi
add rsp, 0x1058
pop rbx
pop rdi
pop rsi
pop r14
ret
mov qword [rsi + 8], rdi
jmp 0x140044aab
mov r9, qword [rsi + 8]
jmp 0x140044a53
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140044ad8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140044a82
cmp eax, 2
jne 0x140044ba1
lea rdi, [rsp + 0x50]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1400bc1a0
lea rcx, [rsp + 0x850]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x48], eax
add eax, 0xfffffbff
cmp eax, 0xfffffc00
jb 0x140044bab
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400d65e8
mov rdi, rax
mov al, byte [rsi + 0x17]
test al, al
js 0x140044b80
cmp rdi, 0xa
ja 0x140044a4a
mov rbx, rsi
test rdi, rdi
je 0x140044aa0
mov r8, rdi
add r8, rdi
lea rdx, [rsp + 0x50]
jmp 0x140044a95
mov rax, qword [rsi + 0x10]
mov rdx, rax
btr rdx, 0x3f
dec rdx
cmp rdx, rdi
jb 0x140044ad8
shr rax, 0x38
mov rbx, qword [rsi]
jmp 0x140044b67
mov edi, 0x3f4
jmp 0x140044ab3
mov edi, 0xea
jmp 0x140044ab3