joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001dad0
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14001d7f6
call fcn.140012b70
mov dword [rax], 0x16
call fcn.140012a20
jmp 0x14001d941
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001d941
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001d941
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001d825
lock or dword [rcx + 0x14], 0x10
jmp 0x14001d941
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001d839
call fcn.14001fe48
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14001d849
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14001d84c
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14001b3e8
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14002041c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14001d92f
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14001d8dd
mov rcx, rbx
call fcn.14001b3e8
cmp eax, 0xffffffff
je 0x14001d8c8
mov rcx, rbx
call fcn.14001b3e8
cmp eax, 0xfffffffe
je 0x14001d8c8
mov rcx, rbx
call fcn.14001b3e8
movsxd rdi, eax
lea r14, [0x140042730]
mov rcx, rbx
sar rdi, 6
call fcn.14001b3e8
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14001d8cf
lea rdx, [0x140040280]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001d8dd
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14001d901
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14001d901
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14001d901
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14001d91f
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14001d92a
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14001d946
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14001d7c0
Function at 0x14002508c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140025104
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140025104
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140025104
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x1400250f8
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140025116
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x1400250e6
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140025106

Function at 0x1400261b8
Capabilities:
Parse pe header

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

Function at 0x14002f1d8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14002ef3c

Function at 0x100004828
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100004875
cmp rcx, 0xffffffffffffffff
je 0x100004875
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10000486d
cmp dword [rcx + 0x3c], edx
jl 0x10000486d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10000486d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100004875
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140005d54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140005d9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140005d9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140005d9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140005d9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140005d9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140005da0
xor al, al
add rsp, 0x28
ret
Function at 0x140009a64
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 0x140009a8b
and qword [r8], 0
call fcn.140009b70
mov rbx, rax
test rax, rax
je 0x140009b53
mov rcx, rax
call fcn.1400099ec
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009b4a
mov rax, qword [0x1400d2f68]
test rax, rax
je 0x140009ac3
inc dword [rax + 0xf4]
mov rdx, qword [0x1400d2f78]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140009b4a
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 0x140009b22
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d2f68]
test rax, rax
je 0x140009b10
dec dword [rax + 0xf4]
mov rdx, qword [0x1400d2f78]
mov rcx, rsi
call qword [0x1400d1008]
jmp 0x140009b53
test ebp, ebp
jle 0x140009b34
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 0x140009b45
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009b55
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 0x140009e94
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x140009ec2
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1400ae1a0]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x140009e9f
not r8d
mov eax, r8d
ret

Function at 0x140009ecc
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 0x140009f26
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400ae1a0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140009f10
cmp rdx, 2
jb 0x140009f10
cmp byte [r10], r11b
jne 0x140009f10
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 0x140009eee
jmp 0x140009f67
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140009f67
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400ae1a0]
cmp dl, r11b
jne 0x140009f4b
cmp byte [r10], r11b
jne 0x140009f4b
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 0x140009f39
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000b330
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 0x14000b3c9
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000b381
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.1400168d8
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14001603c
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, [0x1400d2f70]
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 0x14000b3d1
mov rcx, rbx
call fcn.14001603c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140011d88
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400d2f68]
mov rbx, rcx
and dword [rax + 0x537c], 0
test rcx, rcx
je 0x140011df1
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140011dfc
lea rdx, [0x1400af5d8]
mov rcx, rbx
mov rdi, rax
call fcn.140009b70
mov rbx, rax
test rax, rax
je 0x140011df1
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 0x140025824
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 [0x1400d29e8]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400091dc
mov rcx, qword [0x1400d2ff0]
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 [0x1400d2ff8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400d3000]
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 [0x1400d2ff8], 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.1400091dc
cmp byte [rax + 0xd3], 0
lea rbx, [rax + 0xdf4]
je 0x14002594d
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0xdf8]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x1400d2ff0]
mov dword [rbp - 0x2c], eax
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], eax
mov dword [rbx + 4], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400d2ff0]
jne 0x1400259a2
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400259a2
mov rcx, qword [0x1400d2ff0]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400259a2
movd xmm0, dword [rbp - 0x28]
movd xmm1, dword [rbp - 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0x70], 0
je 0x1400259ad
or eax, 0xffffffff
jmp 0x1400259b2
call fcn.1400093a8
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400259c5
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400259f0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400a8e80
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x1400360a4
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.140038468
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140038310
lea rcx, [rsp + 0x38]
call fcn.140038fe0
movzx eax, al
test eax, eax
je 0x14003612c
lea rcx, [rsp + 0x38]
call fcn.14004773c
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 0x14003612c
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400461e4
mov rcx, rax
call fcn.1400365b0
cmp eax, 0xfaba0065
jne 0x14003612a
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140044068
jmp 0x140036143
jmp 0x1400360e4
lea rcx, [rsp + 0x28]
call fcn.140046218
movzx eax, al
test eax, eax
jne 0x1400360b2
xor eax, eax
add rsp, 0x58
ret
Function at 0x140040fa8
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 [0x1400d29e8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140041001
cmp dword [rsp + 0x90], 0x7c
jge 0x140041001
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x1400d1610]
call fcn.140041228
lea rcx, [rsp + 0x50]
call fcn.140037958
nop
cmp qword [rsp + 0x30], 0
jne 0x140041027
lea rdx, [0x1400b4868]
lea rcx, [rsp + 0x50]
call fcn.140038cf0
jmp 0x140041036
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140038cf0
cmp dword [rsp + 0xa0], 1
jne 0x140041051
lea rdx, [0x1400b4878]
lea rcx, [rsp + 0x50]
call fcn.140038cf0
movss xmm2, dword [0x1400af7e8]
movss xmm1, dword [0x1400b64e0]
lea rcx, [rsp + 0x48]
call fcn.140037dfc
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140044660
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002d49c
movzx eax, al
test eax, eax
je 0x1400410c6
cmp dword [rsp + 0xa0], 0
jne 0x1400410c6
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.140038664
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a8e80
add rsp, 0x88
ret
Function at 0x1400410e8
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x1400b4b60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b4b50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140041171
lea rcx, [0x1400b4b78]
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 0x140041171
lea rcx, [0x1400b4b8c]
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 0x140041171
xor al, al
jmp 0x140041223
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b4b98]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400411f3
lea rcx, [0x1400b4bd0]
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 0x1400411f3
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b4bd8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1400411f3
xor al, al
jmp 0x140041223
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400d35c0]
call fcn.1400aa0ce
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1400d35e0]
call fcn.1400aa0ce
mov al, 1
add rsp, 0x38
ret

Function at 0x140041d4c
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 0x140041d7e
xor eax, eax
jmp 0x140041dd4
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, [0x1400d35e0]
mov rcx, qword [rsp + 0x28]
call fcn.1400aa0ce
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 0x1400476dc
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 0x140047c58
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14004230c]
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, [0x1400427c4]
mov qword [rsp + 0x78], rax
lea rax, [0x1400b4a50]
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 0x140047d10
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.140033728
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, str.notepad
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400d3638], rax
mov edx, 5
mov rcx, qword [0x1400d3638]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x1400b4a40]
mov rcx, qword [0x1400d3638]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov r8d, 0x800a0
mov edx, 0xffffffec
mov rcx, qword [0x1400d3638]
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov rcx, qword [0x1400d3638]
call qword [sym.imp.USER32.dll_UpdateWindow]
add rsp, 0xc0
pop rdi
ret
Function at 0x140047de4
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x148
mov rax, qword [0x1400d29e8]
xor rax, rsp
mov qword [rsp + 0x130], rax
lea rdx, [0x1400d3140]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call sub.d3d9.dll_Direct3DCreate9Ex
test eax, eax
jge 0x140047e1d
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov r8d, 0x40
xor edx, edx
lea rcx, [0x1400d3100]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x1400d317c]
mov dword [0x1400d3100], eax
mov eax, dword [0x1400d3180]
mov dword [0x1400d3104], eax
mov dword [0x1400d3108], 0x15
mov dword [0x1400d3114], 0
mov dword [0x1400d3130], 0x50
mov dword [0x1400d3118], 1
mov dword [0x1400d312c], 1
mov rax, qword [0x1400d3638]
mov qword [0x1400d3120], rax
mov dword [0x1400d3128], 1
mov rax, qword [0x1400d3140]
mov rax, qword [rax]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [0x1400d3640]
mov qword [rsp + 0x30], rax
lea rax, [0x1400d3100]
mov qword [rsp + 0x28], rax
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
mov r9, qword [0x1400d3638]
mov r8d, 1
xor edx, edx
mov rcx, qword [0x1400d3140]
call qword [rsp + 0x48]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, 8
mov r8d, 0x418
mov edx, 0x37b8
lea rcx, str.1.89_WIP
call fcn.14000738c
xor ecx, ecx
call fcn.140007080
call fcn.1400091dc
mov qword [rsp + 0x40], rax
mov rcx, qword [0x1400d3638]
call fcn.1400256ec
mov rcx, qword [0x1400d3640]
call fcn.140024db0
xor ecx, ecx
call fcn.14001db00
lea rcx, [rsp + 0x80]
call fcn.14001763c
mov byte [rsp + 0xa0], 0
mov dword [rsp + 0x98], 5
mov dword [rsp + 0x9c], 5
movss xmm0, dword [0x1400b3a54]
movss dword [rsp + 0xd0], xmm0
lea rax, [0x1400b55b0]
mov qword [rsp + 0xb8], rax
movss xmm0, dword [0x1400adf88]
movss dword [rsp + 0x20], xmm0
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.140037e34
lea rdx, str.C:WindowsFontsCandarab.ttf
lea rcx, [rsp + 0x110]
call fcn.140036a4c
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x50]
call fcn.14001a714
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x110]
call fcn.140044e48
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
movss xmm2, dword [0x1400af928]
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400180a4
mov qword [0x1400d3098], rax
mov rax, qword [0x1400d3140]
mov rax, qword [rax]
mov rcx, qword [0x1400d3140]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400a8e80
add rsp, 0x148
ret
Function at 0x1400494a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x1400494d4
mov eax, edi
nop dword [rax]
lea ecx, [rax + 0x34]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1400494c0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x140049504
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14004951e
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004952c
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400458e0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400495a6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400495a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400495a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a8ea0
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret