joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011140
Capabilities:
Manipulate console buffer

Disassembly:
jmp 0x140012af0
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x128]
lea rcx, [0x14002548d]
call fcn.1400113f7
movzx eax, word [rbp + 0x100]
mov word [rbp + 4], ax
movzx eax, word [rbp + 0x108]
mov word [rbp + 6], ax
cmp dword [rbp + 0x100], 1
jge 0x140012b98
mov eax, dword [rbp + 0x100]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0xffffff9d
je 0x140012b72
cmp dword [rbp + 0xd4], 0xffffff9e
je 0x140012b7d
cmp dword [rbp + 0xd4], 0xffffff9f
je 0x140012b85
jmp 0x140012b90
mov eax, 0x1e
mov word [rbp + 4], ax
jmp 0x140012b96
xor eax, eax
mov word [rbp + 4], ax
jmp 0x140012b96
mov eax, 0x3d
mov word [rbp + 4], ax
jmp 0x140012b96
xor eax, eax
mov word [rbp + 4], ax
jmp 0x140012baa
cmp dword [rbp + 0x100], 0x3e
jl 0x140012baa
mov eax, 0x3d
mov word [rbp + 4], ax
cmp dword [rbp + 0x108], 1
jge 0x140012c02
mov eax, dword [rbp + 0x108]
mov dword [rbp + 0xd4], eax
cmp dword [rbp + 0xd4], 0xffffff9d
je 0x140012bdc
cmp dword [rbp + 0xd4], 0xffffffa0
je 0x140012be7
cmp dword [rbp + 0xd4], 0xffffffa1
je 0x140012bef
jmp 0x140012bfa
mov eax, 0xc
mov word [rbp + 6], ax
jmp 0x140012c00
xor eax, eax
mov word [rbp + 6], ax
jmp 0x140012c00
mov eax, 0x19
mov word [rbp + 6], ax
jmp 0x140012c00
xor eax, eax
mov word [rbp + 6], ax
jmp 0x140012c14
cmp dword [rbp + 0x108], 0x1a
jl 0x140012c14
mov eax, 0x19
mov word [rbp + 6], ax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001c010]
call fcn.14001137a
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x140011244
Capabilities:
Terminate process

Disassembly:
jmp 0x140014580
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]
add rsp, 0x28
ret

Function at 0x1400112da
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400158d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400158f0
xor al, al
jmp 0x140015971
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015903
xor al, al
jmp 0x140015971
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 0x14001592d
xor al, al
jmp 0x140015971
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015941
xor al, al
jmp 0x140015971
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015953
xor al, al
jmp 0x140015971
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001596f
xor al, al
jmp 0x140015971
mov al, 1
add rsp, 0x38
ret
Function at 0x14000fd60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14000fd6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14000fd7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14000fd65
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14000fd95
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14000fd82
sub eax, 3
jb 0x14000fdaf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14000fde6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14000fdd6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14000fdd4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14000fdc3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14000fd22
jmp 0x14000fd6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2400
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14000fe32
cmp rsi, rcx
jae 0x14000fe3a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14000fe19
cmp al, 0x8f
ja 0x14000fe19
cmp byte [rsi - 2], 0xf
je 0x14000fe1f
sub al, 0xe8
cmp al, 1
ja 0x14000fe03
cmp rsi, rcx
jae 0x14000fe3a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14000fe09
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14000fe3a
lodsb al, byte [rsi]
jmp 0x14000fe19
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xd000]
mov eax, dword [rdi]
or eax, eax
je 0x14000fe97
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x10b00]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14000fe47
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14000fe91
mov qword [rbx], rax
add rbx, 8
jmp 0x14000fe67
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14000fed1
cmp al, 0xef
ja 0x14000fec3
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14000fea3
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14000feb2
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14000ff25
sub rsp, 0xffffffffffffff80
jmp 0x140002920
Function at 0x140011055
Capabilities:
Execute command
Terminate process

Disassembly:
jmp 0x1400154c0
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x198], rax
lea rcx, [0x1400281c3]
call fcn.1400114d3
xor eax, eax
cmp eax, 1
je 0x1400155f5
lea rdx, [0x14001f088]
lea rcx, [rbp + 0xe4]
call fcn.14001144c
mov rcx, rax
call fcn.1400113e8
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
xor eax, eax
cmp eax, 1
je 0x1400155f0
lea rdx, [0x14001f088]
lea rcx, [rbp + 0x104]
call fcn.14001144c
mov rcx, rax
call fcn.1400113e8
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
lea rdx, str._1__kernel_mode_spoof_n
lea rcx, [rbp + 0x128]
call fcn.14001117c
mov rcx, rax
call fcn.140011451
mov edx, 9
mov rcx, rax
call fcn.140011465
lea rdx, str._3__quit_n
lea rcx, [rbp + 0x158]
call fcn.140011523
mov rcx, rax
call fcn.140011177
mov edx, 9
mov rcx, rax
call fcn.140011465
lea rdx, [rbp + 4]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov eax, dword [rbp + 4]
mov dword [rbp + 0x194], eax
cmp dword [rbp + 0x194], 1
je 0x1400155d9
cmp dword [rbp + 0x194], 2
je 0x1400155e0
jmp 0x1400155eb
call fcn.1400111c2
jmp 0x1400155eb
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
jmp 0x14001552c
jmp 0x1400154fd
lea rdx, str.Pause
lea rcx, [rbp + 0x184]
call fcn.140011032
mov rcx, rax
call fcn.140011505
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [rbp - 0x20]
lea rdx, [0x14001efd0]
call fcn.14001141a
mov rcx, qword [rbp + 0x198]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x1400111c2
Capabilities:
Execute command

Disassembly:
jmp 0x1400156b0
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rcx, [0x1400281c3]
call fcn.1400114d3
call fcn.1400114a6
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400112e9
mov qword [0x1400221b0], rax
cmp qword [0x1400221b0], 0xffffffffffffffff
jne 0x140015728
lea rdx, str.user_mode:_driver_failed_to_connect_n
lea rcx, [rbp + 0xc8]
call fcn.140011050
mov rcx, rax
call fcn.140011014
mov edx, 4
mov rcx, rax
call fcn.140011465
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
jmp 0x14001578b
xor eax, eax
cmp eax, 1
je 0x14001578b
lea rdx, str.kernel_driver:_user_connected_n
lea rcx, [rbp + 0x108]
call fcn.1400114ab
mov rcx, rax
call fcn.1400110f5
mov edx, 0xa
mov rcx, rax
call fcn.140011465
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14001f088]
lea rcx, [rbp + 0x144]
call fcn.14001144c
mov rcx, rax
call fcn.1400113e8
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
call fcn.14001125d
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret

Function at 0x1400112b7
Capabilities:
Terminate process

Disassembly:
jmp 0x140017170
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]
add rsp, 0x28
ret

Function at 0x1400112e9
Capabilities:
Connect socket

Disassembly:
jmp 0x140011ce0
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400280a8]
call fcn.1400114d3
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
mov eax, 2
mov word [rbp + 8], ax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0xc], eax
mov cx, 0x5947
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0xa], ax
xor r8d, r8d
mov edx, 1
mov ecx, 2
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0xffffffffffffffff
jne 0x140011d79
mov rax, 0xffffffffffffffff
jmp 0x140011da9
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140011da5
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, 0xffffffffffffffff
jmp 0x140011da9
mov rax, qword [rbp + 0x38]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ec80]
call fcn.14001141a
mov rax, rdi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x14001135c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400184c0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400184e0
xor al, al
jmp 0x140018561
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400184f3
xor al, al
jmp 0x140018561
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 0x14001851d
xor al, al
jmp 0x140018561
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018531
xor al, al
jmp 0x140018561
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018543
xor al, al
jmp 0x140018561
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001855f
xor al, al
jmp 0x140018561
mov al, 1
add rsp, 0x38
ret
Function at 0x140011f50
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x138
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, socket
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x158]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x108], rax
lea rcx, [0x1400280a8]
call fcn.1400114d3
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_recv
rep stosb byte [rdi], al
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x140011fd9
xor al, al
jmp 0x14001202c
xor r9d, r9d
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 8]
mov rcx, qword [rbp + 0x130]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rbp + 0x34], eax
movsxd rax, dword [rbp + 0x34]
cmp rax, 8
jb 0x140012018
mov eax, dword [rbp + 8]
movabs rcx, 0x2f26128521
cmp rax, rcx
jne 0x140012018
cmp dword [rbp + 0xc], 3
je 0x14001201c
xor al, al
jmp 0x14001202c
mov rax, qword [rbp + 0x140]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov al, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ef50]
call fcn.14001141a
mov rax, rdi
mov rcx, qword [rbp + 0x108]
xor rcx, rbp
call fcn.140011258
lea rsp, [rbp + 0x118]
pop rdi
pop rbp
ret
Function at 0x140003120
Capabilities:
Execute command

Disassembly:
sub rsp, 0x58
mov rax, qword [0x140098698]
xor rax, rsp
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
lea rdx, str.TASKKILL__IM_svchost.exe__F
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
mov r8d, reloc.WLDAP32.dll_Ordinal_27
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
call fcn.14000190c
cmp qword [rsp + 0x38], 0x10
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400031b2
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400031ad
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400031ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073fe0
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140074100
add rsp, 0x58
ret

Function at 0x1400031c4
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x140098698]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rdi, rcx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, Ordinal_301
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x20], 0x130
cmp rbx, 0xffffffffffffffff
je 0x14000326e
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000326e
jmp 0x140003254
cmp qword [rdi + 0x18], 0x10
mov rax, rdi
jb 0x140003233
mov rax, qword [rdi]
lea rcx, [rsp + 0x4c]
sub rax, rcx
movzx edx, byte [rcx]
movzx r8d, byte [rcx + rax]
sub edx, r8d
jne 0x140003250
inc rcx
test r8d, r8d
jne 0x14000323b
test edx, edx
je 0x140003291
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140003226
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140074100
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140003270
Function at 0x14000667c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call fcn.140009000
nop
lea rax, [0x140005b10]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x30]
call fcn.1400056b8
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x140006701
lea rcx, [rsp + 0x30]
call fcn.140011b48
jmp 0x140006718
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x30]
call fcn.14000bc94
add rsp, 0x58
ret

Function at 0x140008fa8
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x18
xor eax, eax
test eax, eax
je 0x140008fc7
movsx eax, byte [rsp + 0x28]
or eax, 0x20
mov dword [rsp], eax
jmp 0x140008fcf
movsx eax, byte [rsp + 0x28]
mov dword [rsp], eax
mov eax, dword [rsp]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
add rsp, 0x18
ret

Function at 0x14000b27c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14000b238
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x14000d184
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x14000d1a6
mov rcx, qword [rsp + 0x40]
call fcn.14000e7dc
jmp 0x14000d1bd
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14000d1bd
mov rcx, qword [rsp + 0x40]
call fcn.14000e5e8
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x14000d6b4
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x14007cb30]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14007cb20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000d73d
lea rcx, [0x14007cb48]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserSendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000d73d
lea rcx, [0x14007cb5c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.SendInput
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000d73d
xor al, al
jmp 0x14000d7ef
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14007cb68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000d7bf
lea rcx, [0x14007cba0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.NtUserGetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000d7bf
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.GetAsyncKeyState
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000d7bf
xor al, al
jmp 0x14000d7ef
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400996f0]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x28]
lea rcx, [0x140099710]
call sub.VCRUNTIME140.dll_memcpy
mov al, 1
add rsp, 0x38
ret

Function at 0x14000d850
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x48
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000d882
xor eax, eax
jmp 0x14000d8d8
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, [0x140099710]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
call qword [rsp + Ordinal_50]
mov dword [rsp + 0x20], eax
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret
Function at 0x14000e5e8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x14000e618
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x14000e69a
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14000e666
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14000e66e
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000e60d
mov qword [rsp + 8], 0xe3
jmp 0x14000e6b2
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x14000e739
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14000e703
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x14000e70b
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14000e6a5
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14000e78d
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14000e795
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret