joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140047460
Capabilities:
Load ntoskrnl

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
lea rcx, [0x1401262c8]
call fcn.140042b90
test rax, rax
jne 0x140047494
movzx eax, word [0x140126308]
test eax, eax
jne 0x140047494
cmp qword [0x140126310], 0
je 0x140047499
jmp 0x140047657
lea rcx, [0x14010bf68]
call fcn.140038b00
mov r8b, 1
mov rdx, rax
lea rcx, [0x14010bbb0]
call fcn.1400469d0
mov dword [0x140126304], eax
xor edx, edx
mov eax, dword [0x140126304]
mov ecx, 0x1000
div ecx
mov eax, edx
mov word [0x140126308], ax
mov r8d, 1
xor edx, edx
lea rcx, [0x14010bbc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov qword [0x140126310], rax
lea rcx, [rsp + 0x98]
call fcn.140045950
nop
lea rax, [0x140126350]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
call fcn.14003f670
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call fcn.1400485c0
jmp 0x140047535
lea rcx, [rsp + 0x40]
call fcn.140048540
movzx edx, byte [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140048580
movzx eax, al
test eax, eax
je 0x1400475e7
lea rcx, [rsp + 0x40]
call fcn.140048560
lea rcx, [rsp + 0x88]
mov rdi, rcx
mov rsi, rax
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
lea rax, [0x1400477c0]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.140049730
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.140047670
nop
lea rcx, [rsp + 0xb0]
call fcn.1400464d0
jmp 0x14004752b
lea rax, [rsp + 0x98]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140038b00
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x50]
call fcn.140037620
mov qword [rsp + 0x78], rax
jmp 0x140047622
mov rax, qword [rsp + 0x38]
add rax, 0x10
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x38], rax
je 0x14004764a
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140046590
jmp 0x140047614
lea rcx, [rsp + 0x98]
call fcn.140048490
mov rax, qword [rsp + 0xe0]
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x14004b060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rcx, qword [rsp + 0xa0]
call fcn.140038b10
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x98]
call fcn.140038b10
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x90]
call fcn.140038b10
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x88]
call fcn.140038b10
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14004b530
nop
lea rax, [0x14004b610]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x80]
add rax, 8
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x30]
call fcn.140038b00
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x80]
mov qword [rcx], rax
mov rax, qword [rsp + 0x80]
cmp qword [rax], 0
je 0x14004b154
lea rcx, [rsp + 0x30]
call fcn.1400427c0
jmp 0x14004b16f
mov rax, qword [rsp + 0x80]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x30]
call fcn.14004b380
add rsp, 0x78
ret

Function at 0x140053d7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
test r8, r8
je 0x140053da3
and qword [r8], 0
call fcn.140053e88
mov rbx, rax
test rax, rax
je 0x140053e6b
mov rcx, rax
call fcn.140053d04
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140053e62
mov rax, qword [0x140125238]
test rax, rax
je 0x140053ddb
inc dword [rax + 0xf4]
mov rdx, qword [0x140125248]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140053e62
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rdi
je 0x140053e3a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140125238]
test rax, rax
je 0x140053e28
dec dword [rax + 0xf4]
mov rdx, qword [0x140125248]
mov rcx, rsi
call qword [0x140123008]
jmp 0x140053e6b
test ebp, ebp
jle 0x140053e4c
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140053e5d
mov qword [r14], rdi
mov rax, rsi
jmp 0x140053e6d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400541ac
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x1400541da
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1400f6120]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x1400541b7
not r8d
mov eax, r8d
ret
Function at 0x1400541e4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14005423e
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400f6120]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140054228
cmp rdx, 2
jb 0x140054228
cmp byte [r10], r11b
jne 0x140054228
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x140054206
jmp 0x14005427f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14005427f
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400f6120]
cmp dl, r11b
jne 0x140054263
cmp byte [r10], r11b
jne 0x140054263
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x140054251
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140055678
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140055711
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1400556c9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140060cfc
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.1400604a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140125240]
movsxd r8, eax
mov rax, qword [rdi + 0x53f0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140055719
mov rcx, rbx
call fcn.1400604a0
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005c1c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140125238]
mov rbx, rcx
and dword [rax + 0x537c], 0
test rcx, rcx
je 0x14005c229
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14005c234
lea rdx, [0x1400f7758]
mov rcx, rbx
mov rdi, rax
call fcn.140053e88
mov rbx, rax
test rax, rax
je 0x14005c229
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14006f75c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1401249f8]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400534e8
mov rcx, qword [0x1401252c0]
lea rdx, [rbp - 0x18]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rbp - 0x10]
sub ecx, dword [rbp - 0x18]
movd xmm1, ecx
mov ecx, dword [rbp - 0xc]
sub ecx, dword [rbp - 0x14]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rbp - 0x20]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x20]
xorps xmm1, xmm1
sub rax, qword [0x1401252c8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1401252d0]
mov ecx, reloc.WS2_32.dll_recvfrom
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rbp - 0x20]
mov qword [0x1401252c8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov bl, 1
and al, bl
mov ecx, reloc.WS2_32.dll_recv
mov byte [rdi + 0xe0c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, bl
mov byte [rdi + 0xe0d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0xe0f], 0
mov byte [rdi + 0xe0e], al
call fcn.1400534e8
mov rbx, rax
cmp byte [rax + 0xd3], 0
je 0x14006f885
cvttss2si ecx, dword [rax + 0xdf4]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], ecx
cvttss2si ecx, dword [rax + 0xdf8]
mov dword [rbp - 0x2c], ecx
mov rcx, qword [0x1401252c0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, 0xff7fffff
mov dword [rbx + 0xdf4], eax
mov dword [rbx + 0xdf8], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1401252c0]
jne 0x14006f8e8
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14006f8e8
mov rcx, qword [0x1401252c0]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14006f8e8
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xdf4], xmm0
movss dword [rbx + 0xdf8], xmm1
cmp byte [rdi + 0x70], 0
je 0x14006f8f3
or eax, 0xffffffff
jmp 0x14006f8f8
call fcn.1400536b4
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x14006f90b
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.14006f934
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f00e0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14007ea6c
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.140081070
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140080f5c
lea rcx, [rsp + 0x38]
call fcn.1400819e0
movzx eax, al
test eax, eax
je 0x14007eaf4
lea rcx, [rsp + 0x38]
call fcn.14008df6c
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x24], 0
je 0x14007eaf4
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14008ca64
mov rcx, rax
call fcn.14007f0f0
cmp eax, 0xfaba0065
jne 0x14007eaf2
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.14008b5c8
jmp 0x14007eb0b
jmp 0x14007eaac
lea rcx, [rsp + 0x28]
call fcn.14008ca98
movzx eax, al
test eax, eax
jne 0x14007ea7a
xor eax, eax
add rsp, 0x58
ret

Function at 0x1400806a8
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.140080664
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140082064
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 0x140082086
mov rcx, qword [rsp + 0x40]
call fcn.14008aef4
jmp 0x14008209d
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14008209d
mov rcx, qword [rsp + 0x40]
call fcn.14008ad2c
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 0x140088684
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x88
mov rax, qword [0x1401249f8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x1400886dd
cmp dword [rsp + 0x90], 0x7c
jge 0x1400886dd
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x140123610]
call fcn.140088904
lea rcx, [rsp + 0x50]
call fcn.14003cbc0
nop
cmp qword [rsp + 0x30], 0
jne 0x140088703
lea rdx, [0x1400fcf40]
lea rcx, [rsp + 0x50]
call fcn.140081744
jmp 0x140088712
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140081744
cmp dword [rsp + 0xa0], 1
jne 0x14008872d
lea rdx, [0x1400fcf50]
lea rcx, [rsp + 0x50]
call fcn.140081744
movss xmm2, dword [0x1400f7968]
movss xmm1, dword [0x1400fe3b8]
lea rcx, [rsp + 0x48]
call fcn.140080b24
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.14003c740
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14007747c
movzx eax, al
test eax, eax
je 0x1400887a2
cmp dword [rsp + 0xa0], 0
jne 0x1400887a2
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
lea rcx, [rsp + 0x50]
call fcn.14003c970
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f00e0
add rsp, 0x88
ret
Function at 0x1400887c4
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x1400fbfa8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400fbf98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14008884d
lea rcx, [0x1400fbfc0]
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 0x14008884d
lea rcx, [0x1400fbfd4]
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 0x14008884d
xor al, al
jmp 0x1400888ff
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400fbfe0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400888cf
lea rcx, [0x1400fc018]
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 0x1400888cf
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400fc020]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400888cf
xor al, al
jmp 0x1400888ff
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1401258b8]
call sub.VCRUNTIME140.dll_memcpy
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1401258d8]
call sub.VCRUNTIME140.dll_memcpy
mov al, 1
add rsp, 0x38
ret

Function at 0x1400894e4
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1401249f8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x50]
call fcn.140089b2c
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.Curious_Public
lea rcx, [rsp + 0x30]
call fcn.140040830
nop
lea rcx, [rsp + 0x50]
call fcn.14003c970
lea rcx, [rsp + 0x30]
call fcn.14003c740
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x30]
call fcn.14003c970
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400f00e0
add rsp, 0x88
ret
Function at 0x14008956c
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 0x14008959e
xor eax, eax
jmp 0x1400895f4
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, [0x1401258d8]
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 0x14008ad2c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov qword [rsp + 0x18], 0
jmp 0x14008ad4d
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0xe3
jae 0x14008add1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14008ad9c
mov dword [rsp + 4], 0x9908b0df
jmp 0x14008ada4
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008ad40
jmp 0x14008ade0
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
cmp qword [rsp + 0x18], 0x26f
jae 0x14008ae67
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 8], eax
mov eax, dword [rsp + 8]
and eax, 1
test eax, eax
je 0x14008ae31
mov dword [rsp + 0xc], 0x9908b0df
jmp 0x14008ae39
mov dword [rsp + 0xc], 0
mov eax, dword [rsp + 8]
shr eax, 1
xor eax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008add3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14008aeae
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x14008aeb6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x30]
xor eax, dword [rdx + rcx + 4]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x18]
mov dword [rcx + rdx*4 + 4], eax
mov rax, qword [rsp + 0x30]
mov dword [rax], 0
add rsp, 0x28
ret
Function at 0x14008aef4
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x14008af15
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x14008af99
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x14008af64
mov dword [rsp + 4], 0x9908b0df
jmp 0x14008af6c
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14008af08
add rsp, 0x18
ret
Function at 0x14008df0c
Capabilities:
Hash data using fnv

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
movsx eax, byte [rsp + 0x10]
mov ecx, dword [rsp + 8]
xor ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x1000193
ret

Function at 0x14008e2ec
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xe0
lea rax, [rsp + 0xe8]
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140080bb8
nop
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140089bf4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x48
rep stosb byte [rdi], al
xor ecx, ecx
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsp + 0xa0], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x88], 0
lea rax, [0x14008a0fc]
mov qword [rsp + 0x78], rax
lea rax, [0x1400fbf78]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x70], 3
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x14008e3bd
lea rdx, str._n_n_notepad
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14007d2a8
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x60], eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000000
xor r8d, r8d
lea rdx, [0x1400fbf90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x140125930], rax
mov edx, 5
mov rcx, qword [0x140125930]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400fbf68]
mov rcx, qword [0x140125930]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x140125930]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x140125930]
call qword [sym.imp.USER32.dll_UpdateWindow]
nop
lea rcx, [rsp + 0xc0]
call fcn.1400813e8
add rsp, 0xe0
pop rdi
ret