joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400013d4
Capabilities:
Terminate process

Disassembly:
jmp 0x140007cec
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.1400015d2
test al, al
je 0x140007bb7
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400014e2
mov bl, al
mov ecx, dword [0x140011480]
cmp ecx, 1
je 0x140007bc2
test ecx, ecx
jne 0x140007aed
mov dword [0x140011480], 1
lea rdx, [0x14000d660]
lea rcx, [0x14000d330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x140007ace
mov eax, 0xff
jmp 0x140007ba7
lea rdx, [0x14000d220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140011480], 2
jmp 0x140007af5
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400014a1
call fcn.140001406
mov rbx, rax
cmp qword [rax], 0
je 0x140007b28
mov rcx, rax
call fcn.14000122b
test al, al
je 0x140007b28
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x140016020]
call fcn.140001451
mov rbx, rax
cmp qword [rax], 0
je 0x140007b4a
mov rcx, rax
call fcn.14000122b
test al, al
je 0x140007b4a
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov rdi, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rbx, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call fcn.1400013c0
mov ebx, eax
call fcn.1400013de
test al, al
je 0x140007bcc
test sil, sil
jne 0x140007b81
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001203
mov eax, ebx
jmp 0x140007ba7
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400014b0
nop
mov ecx, 7
call fcn.1400014b0
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.1400013ed
add rsp, 0x28
jmp 0x140007a60

Function at 0x1400013de
Capabilities:
Parse pe header

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

Function at 0x1400041b8
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1400041b8
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
lea rcx, [0x140015125]
call fcn.14000158c
nop
xor eax, eax
test eax, eax
je 0x1400041e9
movsx eax, byte [rbp + 0x68]
or eax, 0x20
mov dword [rbp + 0x40], eax
jmp 0x1400041f0
movsx eax, byte [rbp + 0x68]
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x60]
xor ecx, eax
mov eax, ecx
imul eax, eax, 0x1000193
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x1400065c0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
jmp 0x1400065c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x30]
lea rcx, [0x140015126]
call fcn.14000158c
nop
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [rbp + 8], eax
cmp dword [rbp + 8], 0
je 0x140006625
mov edx, dword [rbp + 8]
lea rcx, str.Failed_to_open_the_registry_key._Error:__ld_n
call fcn.1400012c6
nop
jmp 0x140006679
mov rcx, qword [rbp + 0x68]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
inc rax
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rbp + 0x60]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [rbp + 8], eax
cmp dword [rbp + 8], 0
je 0x14000666e
mov edx, dword [rbp + 8]
lea rcx, str.Failed_to_set_the_registry_value._Error:__ld_n
call fcn.1400012c6
nop
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rsp, [rbp + 0x50]
pop rbp
ret

Function at 0x140008700
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x140015220
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x140027040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x14002e0f5]
call fcn.14001171c
nop
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rbp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
mov eax, 1
mov word [rbp + 0x50], ax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10
xor r9d, r9d
lea r8, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
mov edx, 2
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x14001533a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x174], eax
lea rdx, str.CreateProcessWithTokenW_failed._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110d2
mov ecx, dword [rbp + 0x174]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14001104b]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xor al, al
jmp 0x14001538e
lea rdx, str.Successfully_Created_the_Process
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110d2
lea rdx, [0x140023040]
mov rcx, rax
call fcn.1400110d2
nop
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x140022440]
call fcn.140011627
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.140011389
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x140011415
Capabilities:
Terminate process

Disassembly:
jmp 0x140019620
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x14001151e
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001a970
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001a990
xor al, al
jmp 0x14001aa11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001a9a3
xor al, al
jmp 0x14001aa11
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001a9cd
xor al, al
jmp 0x14001aa11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001a9e1
xor al, al
jmp 0x14001aa11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001a9f3
xor al, al
jmp 0x14001aa11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001aa0f
xor al, al
jmp 0x14001aa11
mov al, 1
add rsp, 0x38
ret
Function at 0x140018770
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011758
movzx eax, al
test eax, eax
jne 0x140018790
mov ecx, 7
call fcn.140011636
nop
mov byte [rsp + 0x20], 0
call fcn.140011672
mov byte [rsp + 0x21], al
cmp dword [0x140027b78], 1
jne 0x1400187b4
mov ecx, 7
call fcn.140011636
nop
jmp 0x14001880c
cmp dword [0x140027b78], 0
jne 0x140018807
mov dword [0x140027b78], 1
lea rdx, [0x140021660]
lea rcx, [0x140021330]
call fcn.140011361
test eax, eax
je 0x1400187e8
mov eax, 0xff
jmp 0x140018911
lea rdx, [0x140021220]
lea rcx, [section..rdata]
call fcn.140011659
mov dword [0x140027b78], 2
jmp 0x14001880c
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.14001161d
call fcn.140011550
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140018869
mov rcx, qword [rsp + 0x30]
call fcn.1400112c6
movzx eax, al
test eax, eax
je 0x140018869
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002f020]
nop
call fcn.14001159b
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001889d
mov rcx, qword [rsp + 0x38]
call fcn.1400112c6
movzx eax, al
test eax, eax
je 0x14001889d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400116ea
nop
call fcn.1400189c0
mov dword [rsp + 0x28], eax
call fcn.14001151e
movzx eax, al
test eax, eax
jne 0x1400188bc
mov ecx, dword [rsp + 0x28]
call fcn.14001109b
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400188cb
call fcn.1400116fe
nop
xor edx, edx
mov cl, 1
call fcn.14001128f
mov eax, dword [rsp + 0x28]
jmp 0x140018911
add rsp, 0x68
ret
Function at 0x140e84c1c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r8
push rcx
movzx r8d, sp
mov cx, 0x2e7c
cmovno r8w, si
push rdx
movsx edx, r8w
push r15
not rdx
push r12
movsx r8, r9w
push r9
cmovs cx, r8w
movsx r8, cx
push r11
bswap r11w
sete r11b
movzx dx, sil
push rbp
push r14
movsx ebp, dx
movzx edx, r10w
push r13
mov r8w, 0x28a6
push rax
mov r11b, cl
rdtsc
pushfq
push rdi
rcl rbp, cl
push r10
btr cx, r10w
bts ax, r8w
push rbx
jmp 0x140f2022f
ror edx, 1
cmp spl, r10b
push rbx
rcr bx, 0x86
sbb rbx, rsp
stc
xor dword [rsp], edx
movsx bx, r12b
pop rbx
test r9b, 0x19
stc
movsxd rdx, edx
cmp bx, r14w
add r11, rdx
jmp 0x140e848ad
push r11
ret
push rsi
jmp 0x140e23154
rol edx, 1
test r15w, 0x84e
neg edx
jmp 0x140ed57ad
dec edx
not edx
inc edx
not edx
jmp 0x140e78a24
movabs rcx, 0
bswap rbx
not r8
movsx bp, dil
push rcx
not bl
mov r10, qword [rsp + 0x90]
bswap r11w
ror rax, cl
movsx r11w, spl
ror r10d, 2
cdq
movsx eax, r15w
bswap r10d
dec bx
lahf
inc r10d
btc rdx, 0x7b
rcr al, 1
bswap r10d
mov dl, dil
rol r11b, cl
ror r10d, 1
rdtsc
btr rax, rdx
lea r10, [r10 + rcx]
test si, r9w
adc r11b, r12b
movabs rbp, 0x100000000
lea r10, [r10 + rbp]
mov r8, rsp
movsx r11d, r10w
btr ax, r9w
sub rsp, 0x180
lahf
and rsp, 0xfffffffffffffff0
sub r11b, r8b
btr rax, 0x8c
mov rbx, r10
movabs rax, 0
shl dx, 0x4b
bts r11w, ax
sub rbx, rax
movzx rdx, sp
lea r11, [0x140f202e0]
mov edx, dword [r10]
cmp r13b, r13b
add r10, 4
xor edx, ebx
add edx, 0x53a94fad
not edx
stc
sub edx, 0x6db24b69
neg edx
jmp 0x140e926b6
Function at 0x180003810
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180003841
xor eax, eax
lea r8, [0x180003400]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180008690
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18007e080]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x1800086df
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800812a0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18000871d
cmp rsi, r14
jb 0x180008715
cmp rsi, r15
jae 0x180008715
cmp qword [rsi + 8], 0
jne 0x1800088e7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180008700
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800087b2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800087a9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800087a9
cmp dword [rsp + 0x40], 0x10000
je 0x18000882b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800087a9
sub rbx, rbp
cmp rbx, r14
jae 0x180008770
test rsi, rsi
jne 0x180008890
cmp rdi, r15
ja 0x1800088cf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
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 0x1800088cf
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800088cf
cmp dword [rsp + 0x40], 0x10000
je 0x180008861
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800087e2
jmp 0x1800088cf
test rbx, rbx
je 0x1800087a9
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 0x180008890
cmp rbx, r14
jae 0x180008750
jmp 0x1800087b2
test rdi, rdi
je 0x1800088cf
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 0x180008890
cmp rdi, r15
jbe 0x1800087c0
jmp 0x1800088cf
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 0x1800088a0
mov rax, qword [0x1800812a0]
mov qword [rsi], rax
mov qword [0x1800812a0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1800226e0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180009300
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 [0x18007e080]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000942b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180009422
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180009404
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180009404
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180009404
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800093c2
mov rcx, qword [0x180081050]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180009422
jmp 0x1800093f7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800093f7
mov rcx, qword [0x180081050]
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 0x180009422
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 qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180009370
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180009485
cmp dword [rbx + 0xc], esi
jbe 0x180009485
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18000947e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180009150
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180009440
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1800226e0
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 0x1800094b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18007e080]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov r8d, 0x40
add rbx, qword [0x180081290]
mov rdx, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [rdx - 5]
cmove rdi, rdx
lea rsi, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180009519
mov eax, 0xa
jmp 0x180009566
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 0x180009535
mov rax, qword [rbx]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rbx + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1800226e0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x180009590
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov eax, dword [0x18008129c]
xor edi, edi
mov ebx, edi
test eax, eax
je 0x1800096a2
mov rcx, qword [0x180081290]
add rcx, 0x20
test byte [rcx], 2
je 0x1800095d3
inc ebx
add rcx, 0x38
cmp ebx, eax
jb 0x1800095b7
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x1800096a2
mov edx, 0xffffffff
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.180009300
mov edx, dword [0x18008129c]
cmp ebx, edx
jae 0x18000962d
nop dword [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x180081290]
test byte [rcx + rax + 0x20], 2
jne 0x180009627
mov ecx, ebx
call fcn.1800094b0
mov edi, eax
test eax, eax
jne 0x18000962d
mov edx, dword [0x18008129c]
inc ebx
cmp ebx, edx
jb 0x180009600
cmp qword [rsp + 0x20], 0
je 0x1800096a2
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18000968e
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
mov qword [rsp + 0x48], rsi
nop
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18000967a
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 0x180009650
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180081050]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x50]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x1800099a0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov rdi, rcx
mov ebx, r15d
xor eax, eax
mov esi, 1
lock cmpxchg dword [0x180081048], esi
je 0x1800099f5
cmp rbx, 0x20
jae 0x1800099de
xor ecx, ecx
jmp 0x1800099e0
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x180081048], esi
jne 0x1800099d4
cmp qword [0x180081050], r15
je 0x180009ae1
test rdi, rdi
jne 0x180009a13
call fcn.180009590
mov ebp, eax
jmp 0x180009ae6
mov ecx, dword [0x18008129c]
mov ebx, r15d
test ecx, ecx
je 0x180009a3f
mov r8, qword [0x180081290]
mov rax, r8
nop word [rax + rax]
cmp rdi, qword [rax]
je 0x180009a49
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180009a30
mov ebp, 4
jmp 0x180009ae6
cmp ebx, 0xffffffff
je 0x180009a3f
mov eax, ebx
imul rdx, rax, 0x38
test byte [rdx + r8 + 0x20], 2
jne 0x180009ada
mov r8d, esi
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180009300
mov ecx, ebx
call fcn.1800094b0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180009ae6
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180009ac4
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180009aba
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180009a90
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x180081050]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180009ae6
mov ebp, 5
jmp 0x180009ae6
mov ebp, 2
xchg dword [0x180081048], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret