joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800888e0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rcx
mov ebx, edx
mov eax, edx
movabs rcx, 0xcbf29ce484222325
shr eax, 8
xor edi, edi
movzx esi, al
mov r14, r8
movzx eax, dl
movabs rdx, 0x100000001b3
xor rax, rcx
imul rax, rdx
xor rsi, rax
mov eax, ebx
imul rsi, rdx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
xor rsi, rcx
shr rax, 0x18
mov rcx, qword [0x18011d650]
imul rsi, rdx
xor rsi, rax
imul rsi, rdx
and rcx, rsi
shl rcx, 4
add rcx, qword [0x18011d638]
mov rax, qword [rcx + 8]
cmp rax, qword [0x18011d628]
je 0x180088987
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x18008898a
cmp rax, rcx
je 0x180088987
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x180088977
jmp 0x18008898a
mov rax, rdi
test rax, rax
jne 0x180088a00
call fcn.180019df0
mov ecx, ebx
mov dword [rsp + 0x50], ebx
mov r10, rax
call fcn.180083330
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], 0x4b
lea rax, str.static_field_mapping_name_was_not_found_with_mapping_name:___and_index_
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov rcx, r10
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800899a0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x12c
call fcn.1800048b0
nop word [rax + rax]
and rsi, qword [0x180120390]
mov rcx, qword [0x180120378]
add rsi, rsi
mov rdx, qword [0x180120368]
mov rax, qword [rcx + rsi*8 + 8]
cmp rax, rdx
je 0x180088a41
mov rcx, qword [rcx + rsi*8]
cmp ebx, dword [rax + 0x10]
je 0x180088a3e
nop dword [rax + rax]
cmp rax, rcx
je 0x180088a41
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x180088a30
mov rdi, rax
test rdi, rdi
mov rax, rdx
cmovne rax, rdi
cmp rax, rdx
je 0x180088a59
mov rax, qword [rax + 0x18]
jmp 0x180088b0e
mov ecx, ebx
call fcn.1800833d0
mov ecx, ebx
mov r9, rax
call fcn.180083330
mov r8, qword [r14]
mov rdx, rbp
mov rcx, r14
mov r10, qword [r8 + 0x480]
mov r8, rax
call r10
mov rdi, rax
test rax, rax
jne 0x180088af3
call fcn.180019df0
mov ecx, ebx
mov dword [rsp + 0x50], ebx
mov r10, rax
call fcn.180083330
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], 0x3b
lea rax, str.static_fieldId_is_null_with_mapping_name:___and_index:_
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov rcx, r10
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800899a0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x12c
call fcn.1800048b0
xor eax, eax
jmp 0x180088b0e
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
call fcn.180089080
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a7090
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180088b30
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbp, rcx
mov ebx, edx
mov eax, edx
movabs rcx, 0xcbf29ce484222325
shr eax, 8
xor edi, edi
movzx esi, al
mov r14, r8
movzx eax, dl
movabs rdx, 0x100000001b3
xor rax, rcx
imul rax, rdx
xor rsi, rax
mov eax, ebx
imul rsi, rdx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
xor rsi, rcx
shr rax, 0x18
mov rcx, qword [0x18011d650]
imul rsi, rdx
xor rsi, rax
imul rsi, rdx
and rcx, rsi
shl rcx, 4
add rcx, qword [0x18011d638]
mov rax, qword [rcx + 8]
cmp rax, qword [0x18011d628]
je 0x180088bd7
mov rcx, qword [rcx]
cmp ebx, dword [rax + 0x10]
je 0x180088bda
cmp rax, rcx
je 0x180088bd7
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x180088bc7
jmp 0x180088bda
mov rax, rdi
test rax, rax
jne 0x180088c50
call fcn.180019df0
mov ecx, ebx
mov dword [rsp + 0x50], ebx
mov r10, rax
call fcn.180083330
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], 0x44
lea rax, str.field_mapping_name_was_not_found_with_mapping_name:___and_index_
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov rcx, r10
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800899a0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x12c
call fcn.1800048b0
nop word [rax + rax]
and rsi, qword [0x180120390]
mov rcx, qword [0x180120378]
add rsi, rsi
mov rdx, qword [0x180120368]
mov rax, qword [rcx + rsi*8 + 8]
cmp rax, rdx
je 0x180088c91
mov rcx, qword [rcx + rsi*8]
cmp ebx, dword [rax + 0x10]
je 0x180088c8e
nop dword [rax + rax]
cmp rax, rcx
je 0x180088c91
mov rax, qword [rax + 8]
cmp ebx, dword [rax + 0x10]
jne 0x180088c80
mov rdi, rax
test rdi, rdi
mov rax, rdx
cmovne rax, rdi
cmp rax, rdx
je 0x180088ca9
mov rax, qword [rax + 0x18]
jmp 0x180088d5e
mov ecx, ebx
call fcn.1800833d0
mov ecx, ebx
mov r9, rax
call fcn.180083330
mov r8, qword [r14]
mov rdx, rbp
mov rcx, r14
mov r10, qword [r8 + 0x2f0]
mov r8, rax
call r10
mov rdi, rax
test rax, rax
jne 0x180088d43
call fcn.180019df0
mov ecx, ebx
mov dword [rsp + 0x50], ebx
mov r10, rax
call fcn.180083330
mov qword [rsp + 0x40], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], 0x34
lea rax, str.fieldId_is_null_with_mapping_name:___and_index:_
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x30]
lea rax, [rsp + 0x50]
mov rcx, r10
movdqa xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800899a0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], 0x12c
call fcn.1800048b0
xor eax, eax
jmp 0x180088d5e
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ebx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x38], rdi
call fcn.180089080
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1800a7090
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180089640
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180089671
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180120368]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180120378]
lea rdx, [rdi + rdi]
call fcn.1800046d0
mov rax, qword [0x180120368]
lea r9, [rdi - 1]
mov qword [0x180120390], r9
mov qword [0x180120398], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800897e4
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180120378]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180089730
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800897a5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18008976d
mov r10, qword [rdx]
cmp r10, rax
je 0x180089767
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x1800897a5
cmp r9, rdx
je 0x180089781
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1800897b9
cmp r9, rdx
jne 0x180089772
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800897df
mov r9, qword [0x180120390]
jmp 0x1800896e1
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800897a5
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800897f0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x180089821
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x180120328]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x180120338]
lea rdx, [rdi + rdi]
call fcn.1800046d0
mov rax, qword [0x180120328]
lea r9, [rdi - 1]
mov qword [0x180120350], r9
mov qword [0x180120358], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180089994
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x180120338]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800898e0
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180089955
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x18008991d
mov r10, qword [rdx]
cmp r10, rax
je 0x180089917
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180089955
cmp r9, rdx
je 0x180089931
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x180089969
cmp r9, rdx
jne 0x180089922
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18008998f
mov r9, qword [0x180120350]
jmp 0x180089891
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180089955
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a1170
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rdi, rdx
mov ecx, 8
call fcn.1800a7430
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rsp + 0x30], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1800a52b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1800a11e9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1800a7090
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov dword [rbx], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x1800a6698
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 0x1800a66d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800a66d7
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 0x1800a6720
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800b0c60]
cmp byte [rcx + rax], 0
je 0x1800a6720
dec r8
sub rdx, 1
jne 0x1800a6706
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1800a8100
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x180121ecc]
mov ebx, edi
test ecx, ecx
je 0x1800a823b
mov rax, qword [0x180121ec0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800a8158
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x1800a8130
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800a823b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.1800a8480
mov r8d, dword [0x180121ecc]
cmp ebx, r8d
jae 0x1800a81c8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180121ec0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800a81c1
mov edx, esi
mov ecx, ebx
call fcn.1800a8370
mov edi, eax
test eax, eax
jne 0x1800a81c8
mov r8d, dword [0x180121ecc]
inc ebx
cmp ebx, r8d
jb 0x1800a8190
cmp qword [rsp + 0x20], 0
je 0x1800a823b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800a8227
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800a8218
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800a81f0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18011ff08]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800a8370
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x180121ec0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800a83d4
mov eax, 0xa
jmp 0x1800a8463
test esi, esi
je 0x1800a83f6
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x1800a8419
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800a8419
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800a8412
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800a8419
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
and byte [rbx + 0x20], 0xfd
and sil, 1
movzx eax, sil
shl sil, 2
add al, al
or al, byte [rbx + 0x20]
and al, 0xfb
or al, sil
mov byte [rbx + 0x20], al
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a8480
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x18011d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800a85aa
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800a85a1
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800a8584
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800a8584
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800a8584
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800a8542
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18011ff08]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x1800a85a1
jmp 0x1800a8577
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800a8577
mov rcx, qword [0x18011ff08]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800a85a1
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800a84f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800a8603
cmp dword [rbx + 0xc], esi
jbe 0x1800a8603
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800a85fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800a8980
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x1800a85c0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800a7090
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800a8b30
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1800a8b9f
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1800a8b88
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800a8b7c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800a8b50
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18011ff08]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800a8c60
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800a8ca0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180121eb0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800a8cde
cmp rsi, r14
jb 0x1800a8cd6
cmp rsi, r15
jae 0x1800a8cd6
cmp qword [rsi + 8], 0
jne 0x1800a8ea7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800a8cc1
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800a8d72
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800a8d69
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a8d69
cmp dword [rsp + 0x70], 0x10000
je 0x1800a8deb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800a8d69
sub rbx, rbp
cmp rbx, r14
jae 0x1800a8d30
test rsi, rsi
jne 0x1800a8e50
cmp rdi, r15
ja 0x1800a8e8f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800a8e8f
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800a8e8f
cmp dword [rsp + 0x70], 0x10000
je 0x1800a8e21
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800a8da2
jmp 0x1800a8e8f
test rbx, rbx
je 0x1800a8d69
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800a8e50
cmp rbx, r14
jae 0x1800a8d10
jmp 0x1800a8d72
test rdi, rdi
je 0x1800a8e8f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800a8e50
cmp rdi, r15
jbe 0x1800a8d80
jmp 0x1800a8e8f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800a8e60
mov rax, qword [0x180121eb0]
mov qword [rsi], rax
mov qword [0x180121eb0], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x140029a0c
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d0d4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d0d4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029b5c
cmp rax, 0xffffffffffffffff
je 0x140029b5c
xor edi, edi
test rbp, rbp
jle 0x140029b07
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fa00
mov rbx, rax
test rax, rax
jne 0x140029a94
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029afd
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aa08
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001ddb0
cmp eax, 0xffffffff
je 0x140029add
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029aa4
mov edx, r15d
mov ecx, r14d
call fcn.14001aa08
jmp 0x140029afd
cmp byte [rsi + 0x38], dil
je 0x140029af4
cmp dword [rsi + 0x34], 5
jne 0x140029af4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029afd
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b79c
jmp 0x140029b70
jns 0x140029b70
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d0d4
cmp rax, 0xffffffffffffffff
jne 0x140029b28
cmp byte [rsi + 0x30], dil
je 0x140029b70
mov edi, dword [rsi + 0x2c]
jmp 0x140029b70
mov ecx, r14d
call fcn.140018ec4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029b70
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029b70
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029b69
mov eax, dword [rsi + 0x2c]
jmp 0x140029b6e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d0d4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ac60
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002ac88
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002ac88
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x14047a07d
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 8]
jne 0x1404846a9
call fcn.1404839d8
mov rax, qword [rbp + rbx*8 + 0x20]
push 0xa8da0a7
mov qword [rsp], rax