joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400be9a6
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, 0x68
mov rdi, rdx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [0x14026fe30]
lea rbx, [rsp + 0x30]
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov qword [rsp + 0x20], rcx
mov r12, qword [rcx]
lea rdx, str.NaClPageAlloc___0x_I64x__n
mov ecx, 3
mov r8, rdi
call fcn.14014fd13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r8d, dword [rbx + 4]
cmp r8d, 0x1000
je 0x1400bea28
lea rdx, str.page_size_is_0x_x__expected_0x_x_n
mov ecx, 2
mov r9d, 0x1000
call fcn.14014fd13
mov r8d, dword [rsp + 0x58]
cmp r8d, 0x10000
je 0x1400bea4d
lea rdx, str.allocation_granularity_is_0x_x__expected_0x_x_n
mov ecx, 0xfffffffd
mov r9d, 0x10000
call fcn.14014fd13
add rdi, 0xffff
and rdi, 0xffffffffffff0000
xor r14d, r14d
mov r15, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea r13, str.NaClPageAlloc:__VirtualAlloc__0x_I64x__succeeded__0x_016I64x__releasing_and_re_allocating_in_64K_chunks...._n
mov rbx, qword [sym.imp.KERNEL32.dll_VirtualFree]
mov esi, 0x10000
mov rcx, r12
mov rdx, rdi
mov r8d, 0x2000
mov r9d, 1
call r15
test rax, rax
je 0x1400beba5
mov r12, rax
mov qword [rsp + 0x28], r14
mov ecx, 3
mov rdx, r13
mov r8, rdi
mov r9, rax
call fcn.14014fd13
mov rcx, r12
xor edx, edx
mov r8d, 0x8000
call rbx
test rdi, rdi
jle 0x1400beb67
lea r14, [r12 + rdi]
mov rbp, r12
mov r13, r12
mov edx, 0x10000
mov rcx, r13
mov r8d, 0x2000
mov r9d, 1
call r15
test rax, rax
je 0x1400beafa
add r13, rsi
add rbp, rsi
cmp r13, r14
jb 0x1400bead1
jmp 0x1400beb67
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0xfffffffd
lea rdx, str.NaClPageAlloc:_re_allocation_failed_at_0x_016I64x__error__d_n
mov r8, rbp
mov r9d, eax
call fcn.14014fd13
cmp r12, r13
jae 0x1400beb32
mov rcx, r12
xor edx, edx
mov r8d, 0x8000
call rbx
add r12, 0x10000
jmp 0x1400beb17
mov ecx, 2
lea rdx, str.NaClPageAllocAtAddr:_retrying_w_o_hint_n
call fcn.14014fd13
mov r14, qword [rsp + 0x28]
inc r14d
mov r12d, 0
cmp r14d, 0x100
lea r13, str.NaClPageAlloc:__VirtualAlloc__0x_I64x__succeeded__0x_016I64x__releasing_and_re_allocating_in_64K_chunks...._n
jne 0x1400bea78
jmp 0x1400bebb9
lea rdx, str.NaClPageAlloc:_p__0x_016I64x__returning_success._n
mov ecx, 2
mov r8, r12
call fcn.14014fd13
mov rax, qword [rsp + 0x20]
mov qword [rax], r12
xor esi, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140203460
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.NaClPageAlloc:_VirtualAlloc__0x_I64x__failed_n
mov ecx, 0xfffffffd
mov r8, rdi
call fcn.14014fd13
mov esi, 0xfffffff4
jmp 0x1400beb85

Function at 0x1400bebc0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rcx], 0
jmp fcn.1400be9a6
Function at 0x1400bebcc
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
mov ebp, 4
lea rbx, str.NaClPageAllocRandomized:_0x_I64x_n
lea r14, str.NaClPageAllocRandomized:_hint_0x_I64x_n
call fcn.1401500fb
mov r15d, eax
mov ecx, 2
mov rdx, rbx
mov r8, r15
call fcn.14014fd13
and r15d, 0x7ffffff
shl r15, 0x10
mov qword [rdi], r15
mov ecx, 2
mov rdx, r14
mov r8, r15
call fcn.14014fd13
mov rcx, rdi
mov rdx, rsi
call fcn.1400be9a6
test eax, eax
je 0x1400bec6e
dec ebp
jne 0x1400bebf1
neg eax
lea rdx, str.NaClPageAllocRandomized:_failed___d___dropping_hints_n
mov ecx, 0xffffffff
mov r8d, eax
call fcn.14014fd13
mov qword [rdi], 0
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1400be9a6
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x1400bf1c8
Capabilities:
Suspend thread

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x508
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x500], rax
add rcx, 0xe0
call fcn.14014f628
cmp dword [rsi + 0xf0], 1
jne 0x1400bf2f6
lea rdi, [rsp + 0x30]
mov r8d, 0x4d0
mov rcx, rdi
mov dl, 0xaa
call fcn.1402055c0
cmp dword [rsi + 0xd4], 0
jne 0x1400bf24b
lea rax, str.natp__host_thread_is_defined
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str....._native_client_src_trusted_service_runtimewin_thread_suspension.c
mov ecx, 0xfffffffc
mov r9d, reloc.WS2_32.dll_setsockopt
call fcn.14014fd13
mov rbx, qword [rsi + 0xd8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1400bf27a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.NaClUntrustedThreadSuspend:_SuspendThread___call_failed__error__u_n
mov ecx, 0xfffffffc
mov r8d, eax
call fcn.14014fd13
test ebp, ebp
je 0x1400bf2aa
mov rdi, qword [rsi + 0xf8]
mov ebp, 0x100003
test rdi, rdi
jne 0x1400bf2c9
mov ecx, 0x4d0
call fcn.1400fe9f0
mov qword [rsi + 0xf8], rax
test rax, rax
je 0x1400bf2b1
mov rdi, rax
jmp 0x1400bf2c9
mov ebp, 0x100001
jmp 0x1400bf2c9
lea rdx, str.NaClUntrustedThreadSuspend:_malloc___failed_n
mov ecx, 0xfffffffc
call fcn.14014fd13
mov rdi, qword [rsi + 0xf8]
mov dword [rdi + 0x30], ebp
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400bf2f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.NaClUntrustedThreadSuspend:_GetThreadContext___failed__error__u_n
mov ecx, 0xfffffffc
mov r8d, eax
call fcn.14014fd13
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.140203460
nop
add rsp, 0x508
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400bf42e
Capabilities:
Resume thread

Disassembly:
push rsi
sub rsp, 0x30
mov eax, dword [rcx + 0x100]
test eax, eax
je 0x1400bf4e2
mov rsi, rcx
mov dword [rdx], eax
mov dword [rcx + 0x100], 0
mov rax, qword [rcx + 0xc8]
lock dec dword [rax + 0x70c]
cmp dword [rcx + 0xd4], 0
jne 0x1400bf491
lea rax, str.natp__host_thread_is_defined
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str....._native_client_src_trusted_service_runtimewin_thread_suspension.c
mov ecx, 0xfffffffc
mov r9d, reloc.WS2_32.dll_setsockopt
call fcn.14014fd13
mov rcx, qword [rsi + 0xd8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x1400bf4e6
cmp dword [0x1403e4a40], 0
mov esi, 1
je 0x1400bf4fc
cmp eax, 1
ja 0x1400bf4fc
lea rax, str.previous_suspend_count___2
mov qword [rsp + 0x20], rax
lea rdx, str.Fatal_error_in_file__s__line__d:____s__n
lea r8, str....._native_client_src_trusted_service_runtimewin_thread_suspension.c
mov ecx, 0xfffffffc
mov r9d, 0x97
call fcn.14014fd13
jmp 0x1400bf4fc
xor esi, esi
jmp 0x1400bf4fc
lea rdx, str.NaClAppThreadUnblockIfFaulted:_ResumeThread___call_failed_n
mov ecx, 0xfffffffc
call fcn.14014fd13
mov esi, 1
mov eax, esi
add rsp, 0x30
pop rsi
ret
Function at 0x1400c0293
Capabilities:
Allocate or change rwx memory

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x2c]
mov dword [r14], 0xaaaaaaaa
call fcn.1400bff09
mov rsi, rax
lea rbx, [0x140001200]
lea rdi, [0x140001204]
sub rdi, rbx
mov rcx, rax
mov rdx, rdi
mov r8d, 0x40
mov r9, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400c02fa
lea rdx, str.NaClPatchWindowsExceptionDispatcherToFailFast:_VirtualProtect___failed_to_make_the_routine_writable_n
mov ecx, 0xfffffffc
call fcn.14014fd13
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.140204f20
lea r9, [rsp + 0x2c]
mov r8d, dword [r9]
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400c0331
lea rdx, str.NaClPatchWindowsExceptionDispatcherToFailFast:_VirtualProtect___failed_to_restore_page_permissions_n
mov ecx, 0xfffffffc
call fcn.14014fd13
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140203460
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x28
call fcn.1400bff66
test eax, eax
je 0x1400c035b
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x1400c0293
Function at 0x1400ebb20
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
jne 0x1400ebc2f
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1400ebb8e
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.140204f20
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1400ebc2f
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1400ebc79
lea rcx, [r12*8]
call fcn.14020216c
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1400ebc08
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
nop word [rax + rax]
mov r10, rcx
add r10, r9
je 0x1400ebc4d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1400ebbf0
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1400ebc2f
mov rcx, r14
call fcn.1402021a8
mov r15, qword [rsi + 0x10]
test r15, r15
je 0x1400ebc4d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.14004460c
call fcn.14003dd61
int3
Function at 0x1400ebc80
Capabilities:
Access peb ldr_data

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x68
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [0x140271fd0]
mov qword [rcx], rax
lea rax, [0x140272f08]
mov qword [rcx + 8], rax
mov eax, dword [0x1403bcfc0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rcx, [rax + 0x160]
mov qword [rsi + 0x10], rcx
mov rcx, qword [rax + 0x160]
mov qword [rax + 0x160], rsi
mov qword [rsi + 0x18], rcx
movabs r14, 0xfffffffc00000000
mov rax, rdx
and rax, r14
cmp rax, qword [0x1403bc448]
jne 0x1400ebd04
mov rcx, rdi
call fcn.140044610
mov qword [rsi + 0x20], rdi
xorps xmm0, xmm0
movups xmmword [rsi + 0x28], xmm0
mov eax, dword [rdi + 0x33c]
mov dword [rsi + 0x38], eax
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140103220
mov rcx, rbx
mov rdx, rsi
call fcn.140103280
mov rcx, qword [rsp + 0x50]
and r14, rcx
cmp r14, qword [0x1403bc448]
jne 0x1400ebd46
call fcn.14004472e
call fcn.1400f1bb0
mov rbx, rax
call fcn.140102bd0
mov r9, qword [rax]
test r9, r9
je 0x1400ebd71
mov eax, 1
lock xadd dword [r9 + 8], eax
cmp eax, 0x7fffffff
je 0x1400ebe3e
lea rdx, [rsi + 8]
lea r8, str.ThreadLocalEventBuffer
mov rcx, rbx
call fcn.1400f1d30
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rsp + 0x3c], eax
lea rbx, [rdi + 8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x1400ebda6
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
call fcn.140102bd0
mov r14, qword [rax]
test r14, r14
je 0x1400ebdc5
mov eax, 1
lock xadd dword [r14 + 8], eax
cmp eax, 0x7fffffff
je 0x1400ebe41
add rdi, 0x2e0
lea r8, [rsp + 0x3c]
mov qword [rsp + 0x40], r8
lea rax, [rsp + 0x4f]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x140277d11]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400ef3e0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x18]
mov qword [rax + 0x18], r14
test rcx, rcx
je 0x1400ebe1b
lock dec dword [rcx + 8]
jne 0x1400ebe1b
call fcn.140102bc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140203460
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r14
ret
int3
int3
Function at 0x1400ec3c0
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x38
movaps xmmword [rsp + 0x20], xmm6
mov edi, edx
mov rsi, rcx
lea rax, [0x140272f18]
mov qword [rcx], rax
add rcx, 8
call fcn.140057430
lea rcx, [rsi + 0x10]
call fcn.140057430
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.140057430
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
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 dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov dword [rsi + 0x150], 0x3f800000
movups xmmword [rsi + 0x158], xmm6
movups xmmword [rsi + 0x168], xmm6
mov dword [rsi + 0x178], 0x3f800000
mov qword [rsi + 0x198], 0
movups xmmword [rsi + 0x180], xmm6
mov dword [rsi + 0x190], 0
mov eax, dword [reloc.WS2_32.dll_accept]
mov dword [rsi + 0x1a0], eax
lea rcx, [rsi + 0x1a8]
call fcn.140157fe0
movups xmmword [rsi + 0x2e0], xmm6
movups xmmword [rsi + 0x2f0], xmm6
mov dword [rsi + 0x300], 0x3f800000
movups xmmword [rsi + 0x308], xmm6
movups xmmword [rsi + 0x318], xmm6
movups xmmword [rsi + 0x328], xmm6
mov byte [rsi + 0x338], 0
mov dword [rsi + 0x33c], edi
mov byte [rsi + 0x340], 0
movups xmmword [rsi + 0x348], xmm6
mov qword [rsi + 0x358], 0
call sym.nacl64.exe__ovly_debug_event
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 [reloc.WS2_32.dll_bind], edx
je 0x1400ec5a0
cmp rax, 0x40
mov eax, 0x3e8
jmp 0x1400ec5b1
test dword [reloc.WS2_32.dll_htonl], edx
je 0x1400ec608
cmp rax, 0x40
mov eax, 0x100
cmovb rcx, rax
call fcn.140156f00
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x1400ec5d8
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1400f45b0.0]
call fcn.1400f1bb0
lea r8, str.TraceLog
mov rcx, rax
mov rdx, rsi
xor r9d, r9d
call fcn.1400f1d30
mov qword [0x1403e25b8], rsi
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rdi
pop rsi
ret
test dword [reloc.WS2_32.dll_recv], edx
je 0x1400ec61b
cmp rax, 0x40
mov eax, 0x7a1200
jmp 0x1400ec624
cmp rax, 0x40
mov eax, 0xfa0
cmovb rcx, rax
call fcn.140156fb0
jmp 0x1400ec5ba
Function at 0x1400f2b50
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x158
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x150], rax
lea rcx, [rsp + 0x38]
mov r8d, 0x118
xor edx, edx
call fcn.1402055c0
mov dword [rsp + 0x34], 0x11c
lea rcx, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [rsp + 0x30], 0
mov ecx, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetProductInfo]
mov ecx, 0x80
call fcn.14020216c
mov rsi, rax
mov edi, dword [rsp + 0x30]
mov eax, dword [0x1403e2620]
mov ecx, dword [0x1403bcfc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f2c1c
lea r8, [0x1403e25f0]
lea rdx, [rsp + 0x34]
mov rcx, rsi
mov r9d, edi
call fcn.1400f2d80
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140203460
mov rax, rsi
add rsp, 0x158
pop rdi
pop rsi
ret
lea rcx, [0x1403e2620]
call fcn.1402021ec
cmp dword [0x1403e2620], 0xffffffff
jne 0x1400f2be8
xorps xmm0, xmm0
movups xmmword [0x1403e2610], xmm0
movups xmmword [0x1403e2600], xmm0
movups xmmword [0x1403e25f0], xmm0
lea rcx, [0x1403e25f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403e2620]
call fcn.1402022a0
jmp 0x1400f2be8

Function at 0x1400f2cd0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x28
mov eax, dword [0x1403e2620]
mov ecx, dword [0x1403bcfc0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f2d31
movzx eax, word [0x1403e25f0]
cmp rax, 0xc
ja case.0x1400f2d10.1
lea rcx, [0x140286fd4]
movsxd rdx, dword [rcx + rax*4]
add rdx, rcx
jmp rdx
mov eax, 2
jmp case.0x1400f2d10.0
mov eax, 4
jmp case.0x1400f2d10.0
mov eax, 1
jmp case.0x1400f2d10.0
mov eax, 3
add rsp, 0x28
ret
lea rcx, [0x1403e2620]
call fcn.1402021ec
cmp dword [0x1403e2620], 0xffffffff
jne 0x1400f2cf5
xorps xmm0, xmm0
movups xmmword [0x1403e2610], xmm0
movups xmmword [0x1403e2600], xmm0
movups xmmword [0x1403e25f0], xmm0
lea rcx, [0x1403e25f0]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
lea rcx, [0x1403e2620]
call fcn.1402022a0
jmp 0x1400f2cf5
Function at 0x1400f3520
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rdx]
mov rcx, qword [rdx + 8]
sub rcx, rax
cmp rcx, 0x3ff
ja 0x1400f356a
shr rcx, 3
mov edx, 0x80
sub rdx, rcx
mov rcx, rsi
call fcn.1400f3a50
jmp 0x1400f357d
cmp rcx, 0x400
je 0x1400f357d
add rax, 0x400
mov qword [rsi + 8], rax
mov r15d, 0xfffffffb
lea rbx, [rsp + 0x3c]
lea r14, [rsp + 0x30]
nop dword [rax]
mov dword [rsp + 0x3c], 0
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rdx
je 0x1400f363d
sub r8d, edx
and r8d, 0xfffffff8
mov rcx, rdi
mov r9, rbx
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
setne bpl
je 0x1400f3621
mov edx, dword [rsp + 0x3c]
shr rdx, 3
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
mov r8, rax
sub r8, rcx
sar r8, 3
cmp r8, rdx
jae 0x1400f3604
mov qword [rsp + 0x30], 0
sub rdx, r8
add rdx, 8
mov rcx, rsi
mov r8, r14
call fcn.1400f3be0
inc r15d
jne 0x1400f3590
xor ebp, ebp
jmp 0x1400f3621
lea rdi, [rcx + rdx*8]
cmp rax, rdi
jb 0x1400f3669
je 0x1400f3621
mov rcx, rdi
mov rdx, rax
xor r8d, r8d
call fcn.140204f20
mov qword [rsi + 8], rdi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140203460
mov eax, ebp
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x5b5
call fcn.14004460c
lea rax, str.vector::erase_first__last__called_with_invalid_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__first_____last
mov r8d, 0x671
call fcn.14004460c
int3
Function at 0x1400f3dc0
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
mov rax, qword [rcx]
jne 0x1400f3df5
test rax, rax
jne 0x1400f3df5
cmp dword [rsi + 0x14], 0
je 0x1400f3de7
xor eax, eax
jmp 0x1400f3df5
xor eax, eax
cmp qword [rsi + 8], 0
mov edx, 0
je 0x1400f3e4c
lea rcx, [rax + 1]
cmp rcx, 2
jb 0x1400f3e15
call fcn.14011dc90
mov rcx, qword [rsi]
call fcn.1400f41d0
mov qword [rsi], 0
xor eax, eax
mov rcx, qword [rsi + 8]
lea rdx, [rcx + 1]
cmp rdx, 2
jb 0x1400f3e3e
call fcn.14011dc90
mov rcx, qword [rsi + 8]
call fcn.1400f41d0
mov qword [rsi + 8], 0
mov rax, qword [rsi]
xor ecx, ecx
mov rdx, rax
mov qword [rsi + 0x10], 0
mov rax, rcx
mov r14, qword [rdi]
cmp rdx, r14
je 0x1400f3e9a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400f3e7c
call fcn.14011dc90
mov rcx, qword [rsi]
call fcn.1400f41d0
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f3e8e
mov qword [rsi], r14
call fcn.14011dc90
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi + 8]
mov r14, qword [rdi + 8]
cmp rax, r14
je 0x1400f3ee9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 8]
inc rax
cmp rax, 2
jb 0x1400f3ece
call fcn.14011dc90
mov rcx, qword [rsi + 8]
call fcn.1400f41d0
mov qword [rsi + 8], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f3ee1
mov qword [rsi + 8], r14
call fcn.14011dc90
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

Function at 0x1400f4010
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x40], rax
test rcx, rcx
je 0x1400f40c9
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], 0
mov r14, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call r14
mov rbx, rax
call r14
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
mov rcx, rax
mov rdx, rdi
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
setne bl
je 0x1400f40cd
mov r14, qword [rsp + 0x38]
cmp qword [rsi], r14
je 0x1400f40dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400f40b5
call fcn.14011dc90
mov rcx, qword [rsi]
call fcn.1400f41d0
mov qword [rsi], 0
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400f40d5
mov qword [rsi], r14
call fcn.14011dc90
jmp 0x1400f40d5
mov bl, 1
jmp 0x1400f40dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140203460
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400f4280
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rsi, r8
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x3c], 4
mov dword [rsp + 0x38], 4
mov dword [rsp + 0x34], 0
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400f42fc
mov eax, dword [rsp + 0x3c]
add eax, 0xfffffffd
mov edi, 0x3f4
cmp eax, 1
ja 0x1400f42fc
cmp dword [rsp + 0x38], 4
jne 0x1400f42fc
mov eax, dword [rsp + 0x34]
mov dword [rsi], eax
xor edi, edi
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140203460
mov eax, edi
add rsp, 0x48
pop rdi
pop rsi
ret

Function at 0x1400f4320
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
mov eax, 0x1048
call fcn.140203400
sub rsp, rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x1403ac028]
xor rax, rsp
mov qword [rsp + 0x1040], rax
lea r14, [rsp + 0x840]
mov r8d, 0x800
mov rcx, r14
mov dl, 0xaa
call fcn.1402055c0
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x38], 0x800
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x3c]
mov rdx, rdi
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x1400f440c
mov eax, dword [rsp + 0x3c]
cmp eax, 2
je 0x1400f43bc
mov edi, 0x3f4
cmp eax, 1
jne 0x1400f440c
lea rdx, [rsp + 0x840]
jmp 0x1400f4402
lea rdi, [rsp + 0x40]
mov r8d, 0x800
mov rcx, rdi
mov dl, 0xaa
call fcn.1402055c0
lea rcx, [rsp + 0x840]
mov rdx, rdi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [rsp + 0x38], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x1400f440c
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400e9472
xor edi, edi
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140203460
mov eax, edi
add rsp, 0x1048
pop rbx
pop rdi
pop rsi
pop r14
ret