joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024af0
Capabilities:
Hash data with crc32

Disassembly:
test r8d, r8d
jle 0x140024d3e
mov r11, rsp
push rbp
push rsi
sub rsp, 0x58
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [r11 - 0x18], rdi
mov rbp, rcx
mov qword [r11 - 0x20], r14
lea rdi, [rdx + 0x1a]
mov qword [r11 - 0x28], r15
mov r14d, 0xffffffff
lea r15, [0x14005e1a0]
mov qword [r11 + 0x18], rbx
movsxd rsi, r8d
nop dword [rax + rax]
mov edx, dword [rdi - 0x1a]
test edx, edx
je 0x140024d06
mov rcx, rbp
call fcn.140024110
mov r9d, dword [rdi - 0x16]
mov rbx, rax
test r9d, r9d
je 0x140024bc1
movsxd rdx, dword [rbp + 0x5530]
mov r8, qword [rbp + 0x5538]
mov r10, rdx
shl r10, 4
add r10, r8
test rdx, rdx
je 0x140024bb1
nop dword [rax]
mov rcx, rdx
shr rcx, 1
mov rax, rcx
add rax, rax
cmp dword [r8 + rax*8], r9d
jae 0x140024ba9
lea r8, [r8 + rax*8]
mov rax, 0xffffffffffffffff
sub rax, rcx
add r8, 0x10
add rdx, rax
jmp 0x140024bac
mov rdx, rcx
test rdx, rdx
jne 0x140024b80
cmp r8, r10
je 0x140024bc1
cmp dword [r8], r9d
jne 0x140024bc1
mov rcx, qword [r8 + 8]
jmp 0x140024bc3
xor ecx, ecx
mov qword [rbx + 0x18], rcx
movsx eax, word [rdi - 2]
movd xmm1, eax
movsx eax, word [rdi]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x48], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x4c], xmm0
movsx eax, word [rdi + 2]
movd xmm1, eax
movsx eax, word [rdi + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [rbx + 0x50], xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x54], xmm0
movsx eax, word [rdi + 6]
movd xmm1, eax
movsx eax, word [rdi + 8]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [rbx + 0xc4]
and eax, 0xfffffe49
movss dword [rbx + 0x58], xmm1
or eax, 0x49
mov dword [rbx + 0xc4], eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x5c], xmm0
test rcx, rcx
je 0x140024c57
cmp qword [rcx + 0x20], 0
jne 0x140024c4c
mov qword [rcx + 0x20], rbx
jmp 0x140024c57
cmp qword [rcx + 0x28], 0
jne 0x140024c57
mov qword [rcx + 0x28], rbx
mov eax, dword [rdi - 0xe]
mov r9, rbx
mov dword [rbx + 0xbc], eax
movsx eax, byte [rdi - 0xa]
mov dword [rbx + 0x60], eax
mov ecx, dword [rdi - 6]
mov eax, dword [rbx + 0xc]
and ecx, 0xc1fc20
or eax, dword [rbx + 4]
or eax, ecx
mov dword [rbx + 8], ecx
mov dword [rbx + 0x10], eax
mov rax, qword [rbx + 0x18]
test rax, rax
je 0x140024c9c
nop word [rax + rax]
mov r9, rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140024c90
mov r9d, dword [r9]
lea r8, str.DockNode__02X
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.14000b350
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov ecx, r14d
test r9b, r9b
je 0x140024cf8
cmp r9b, 0x23
jne 0x140024cdb
cmp byte [r8], r9b
jne 0x140024cdb
cmp byte [r8 + 1], r9b
cmove ecx, r14d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r15 + rdx*4]
test r9b, r9b
jne 0x140024cc8
not ecx
call fcn.140013b80
mov qword [rbx + 0x88], rax
add rdi, 0x24
sub rsi, 1
jne 0x140024b40
mov r15, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005a8f0
add rsp, 0x58
pop rsi
pop rbp
ret
Function at 0x14002cb30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov rbx, rdx
mov rbp, rcx
xor r14d, r14d
nop word [rax + rax]
mov eax, dword [rbx]
mov dword [rsp + 0x20], eax
mov rax, qword [rbx + 0x18]
mov word [rsp + 0x32], r14w
test rax, rax
je 0x14002cb7d
mov eax, dword [rax]
mov dword [rsp + 0x24], eax
jmp 0x14002cb82
mov dword [rsp + 0x24], r14d
mov eax, dword [rbx + 0x10]
shr eax, 0xa
test al, 1
je 0x14002cbad
mov rax, qword [rbx + 0x88]
test rax, rax
je 0x14002cbad
mov rax, qword [rax + 0x390]
test rax, rax
je 0x14002cbad
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
jmp 0x14002cbb2
mov dword [rsp + 0x28], r14d
mov eax, dword [rbx + 0xbc]
mov dword [rsp + 0x2c], eax
cmp qword [rbx + 0x20], r14
je 0x14002cbcc
movzx eax, byte [rbx + 0x60]
mov byte [rsp + 0x30], al
jmp 0x14002cbd1
mov byte [rsp + 0x30], 0xff
cvttss2si ecx, dword [rbx + 0x48]
mov eax, dword [rbx + 8]
mov r8d, dword [rbp + 0x24]
and eax, 0xc1fc20
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x31], sil
cvttss2si eax, dword [rbx + 0x4c]
mov word [rsp + 0x38], cx
cvttss2si ecx, dword [rbx + 0x50]
mov word [rsp + 0x3a], ax
cvttss2si eax, dword [rbx + 0x54]
mov word [rsp + 0x3c], cx
cvttss2si ecx, dword [rbx + 0x58]
mov word [rsp + 0x3e], ax
cvttss2si eax, dword [rbx + 0x5c]
mov word [rsp + 0x40], cx
mov ecx, dword [rbp + 0x20]
mov word [rsp + 0x42], ax
cmp ecx, r8d
jne 0x14002cc53
inc ecx
test r8d, r8d
je 0x14002cc3e
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14002cc43
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbp + 0x20]
call fcn.14002e0a0
movsxd rax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x28]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rdx, [rax + rax*8]
mov eax, dword [rsp + 0x40]
movups xmmword [rcx + rdx*4], xmm0
movups xmmword [rcx + rdx*4 + 0x10], xmm1
mov dword [rcx + rdx*4 + 0x20], eax
inc dword [rbp + 0x20]
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x14002cc92
lea r8d, [rsi + 1]
mov rcx, rbp
call fcn.14002cb30
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x14002cca2
inc esi
jmp 0x14002cb60
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140051dc0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov rbx, rcx
xor eax, eax
xor esi, esi
xor ecx, ecx
mov dword [rsp + 0x58], eax
xor edx, edx
mov dword [rsp + 0x30], esi
mov r8d, 1
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140051e3f
cmp qword [rbx + 0x18], 7
jbe 0x140051e1c
mov rbx, qword [rbx]
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
jne 0x140051e43
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140051e7e
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
mov rcx, rbx
cmovne esi, dword [rsp + 0x54]
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, esi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005a8f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140054150
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x64
lea rcx, [rsp + 0x38]
call fcn.140058750
mov rcx, rax
call fcn.140058760
mov rcx, qword [0x14006f108]
cmp rcx, 0xffffffffffffffff
je 0x140054191
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x14006f108], 0xffffffffffffffff
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140057150
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140057178
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14005719e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400571a0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400571f9
test ecx, ecx
jle 0x1400571d9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1400571f9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400571f9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140057220
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140057242
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140057258
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140057274
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140057276
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400572b2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005734e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1400572ed
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005732e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005734e
cmp rbx, rax
ja 0x140057300
test rbx, rbx
je 0x14005734e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400577b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400577dd
xor eax, eax
jmp 0x140057949
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140057817
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140057817
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140057949
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005793c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005785a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140057885
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140057941
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400578f4
sub eax, 1
je 0x1400578f4
cmp eax, 2
jne 0x14005793c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140057941
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140057922
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14005793c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140057941
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005a8f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140057ee0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14006f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140057fb3
cmp byte [rcx + 0x71], 0
je 0x140057fb3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140057faf
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140057f74
sub eax, 1
je 0x140057f78
cmp eax, 2
jne 0x140057faf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005a8f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140057fa6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140057faf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140057f5c
xor al, al
jmp 0x140057f5c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005a8f0
add rsp, 0x60
pop rbx
ret

Function at 0x14005a5a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14005a5e2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14005a5e7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14005a630
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14005db60]
cmp byte [rcx + rax], 0
je 0x14005a630
dec r8
sub rdx, 1
jne 0x14005a616
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14005b780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005b7ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005b7ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005b7ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005b7ca
cmp dword [rcx + 0x84], 0xe
jbe 0x14005b7ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14005b7cc
xor al, al
add rsp, 0x28
ret
Function at 0x140001180
Capabilities:
Terminate process

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, qword [0x140171b40]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov rax, qword gs:[0x30]
mov rsi, qword [rax + 8]
jmp 0x1400011c0
cmp rsi, rax
je 0x140001320
mov ecx, 0x3e8
call rbp
mov rax, rdi
lock cmpxchg qword [rbx], rsi
test rax, rax
jne 0x1400011b0
mov rsi, qword [0x140171b50]
xor edi, edi
mov eax, dword [rsi]
cmp eax, 1
je 0x140001337
mov eax, dword [rsi]
test eax, eax
je 0x1400013a0
mov dword [0x140175008], 1
mov eax, dword [rsi]
cmp eax, 1
je 0x14000134c
test edi, edi
je 0x14000136d
mov rax, qword [0x140171ab0]
mov rax, qword [rax]
test rax, rax
je 0x140001223
xor r8d, r8d
mov edx, 2
xor ecx, ecx
call rax
call fcn.14015cd50
mov rcx, qword [0x140171bd0]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rdx, qword [0x140171b30]
lea rcx, section..text
mov qword [rdx], rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler
call fcn.14015cb60
mov ebx, dword [0x140175028]
lea r12d, [rbx + 1]
movsxd r12, r12d
shl r12, 3
mov rcx, r12
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, qword [0x140175020]
mov rbp, rax
test ebx, ebx
jle 0x1400013c0
sub r12, 8
xor ebx, ebx
nop dword [rax]
mov rcx, qword [rdi + rbx]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rsi, [rax + rax + 2]
mov rcx, rsi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, rsi
mov qword [rbp + rbx], rax
mov rdx, qword [rdi + rbx]
mov rcx, rax
add rbx, 8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
cmp rbx, r12
jne 0x140001288
add rbx, rbp
mov qword [rbx], 0
mov qword [0x140175020], rbp
call fcn.14015c8a0
mov rax, qword [0x140171ac0]
mov r8, qword [0x140175018]
mov ecx, dword [0x140175028]
mov rax, qword [rax]
mov qword [rax], r8
mov rdx, qword [0x140175020]
call fcn.14015c8c0
mov ecx, dword [0x14017500c]
mov dword [0x140175010], eax
test ecx, ecx
je 0x1400013c8
mov edx, dword [0x140175008]
test edx, edx
je 0x140001380
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rsi, qword [0x140171b50]
mov edi, 1
mov eax, dword [rsi]
cmp eax, 1
jne 0x1400011e1
mov ecx, 0x1f
call fcn.14015db00
mov eax, dword [rsi]
cmp eax, 1
jne 0x140001200
mov rdx, qword [0x140171b70]
mov rcx, qword [0x140171b60]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [rsi], 2
test edi, edi
jne 0x140001208
xor eax, eax
xchg qword [rbx], rax
jmp 0x140001208
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
mov eax, dword [0x140175010]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rdx, qword [0x140171b90]
mov rcx, qword [0x140171b80]
mov dword [rsi], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
jmp 0x1400011f5
mov rbx, rax
jmp 0x1400012be
mov ecx, eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
Function at 0x1400019c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x90], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x60], rax
jmp 0x140001a20
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x30], 0
je 0x140001a7d
cmp qword [rsp + 0x90], 0
jne 0x140001a7d
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rsp + 0x48], rax
jne 0x140001a56
jmp 0x140001a13
xor r9d, r9d
mov r8, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc0]
call fcn.1400015e0
mov qword [rsp + 0x90], rax
jmp 0x140001a13
cmp qword [rsp + 0x90], 0
jne 0x140001af9
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
call fcn.140001b10
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
je 0x140001aed
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x68]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x20]
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0xc0]
call qword [rax + 0x18]
jmp 0x140001af9
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
add rsp, 0xb8
ret
Function at 0x140001b10
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0x68], 0xffffffff
mov dword [rsp + 0x78], 0
jmp 0x140001b4a
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xe8]
movsx eax, byte [rax + rcx]
test eax, eax
je 0x140001b7f
cmp dword [rsp + 0x78], 0x40
jae 0x140001b7f
mov edx, dword [rsp + 0x78]
mov ecx, dword [rsp + 0x78]
mov rax, qword [rsp + 0xe8]
movzx eax, byte [rax + rdx]
mov byte [rsp + rcx + 0x20], al
jmp 0x140001b3f
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0
mov eax, dword [rsp + 0x78]
sub eax, 4
mov eax, eax
movsx eax, byte [rsp + rax + 0x20]
cmp eax, 0x2e
je 0x140001bff
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0x2e
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0x64
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0x6c
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0x6c
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x78]
mov byte [rsp + rax + 0x20], 0
mov eax, dword [rsp + 0x78]
add eax, 1
mov dword [rsp + 0x78], eax
mov rax, qword gs:[0x60]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xb0], rax
jmp 0x140001c47
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0xb0], rax
cmp dword [rsp + 0x68], 0
je 0x140001d3f
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x30], 0
je 0x140001d3f
cmp qword [rsp + 0xc0], 0
jne 0x140001d3f
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x88]
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xb8], 0
jne 0x140001cd5
jmp 0x140001c34
mov ecx, dword [rsp + 0xb8]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rax + 0xc]
mov rax, qword [rsp + 0x90]
add rax, rcx
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
lea rcx, [rsp + 0x20]
call fcn.140001450
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x140001d3a
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
jmp 0x140001c34
cmp qword [rsp + 0xc0], 0
jne 0x140001d81
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x98]
mov rax, qword [rsp + 0xe0]
call qword [rax + 0x10]
lea r9, [rsp + 0xc0]
lea r8, [rsp + 0x98]
xor edx, edx
xor ecx, ecx
mov rax, qword [rsp + 0xe0]
call qword [rax + 8]
mov rax, qword [rsp + 0xc0]
add rsp, 0xd8
ret
Function at 0x1400021e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x38], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
jmp 0x140002235
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x30], 0
je 0x14000226d
cmp qword [rsp + 0x38], 0
jne 0x14000226d
mov r9, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x30]
mov rcx, qword [rsp + 0x50]
call fcn.140001da0
mov qword [rsp + 0x38], rax
jmp 0x140002228
mov rax, qword [rsp + 0x38]
add rsp, 0x48
ret