joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fec40
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400fec82
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400fecc9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400fed22
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400fece0
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400fed63
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14012dfe2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14012dfe3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400fed30
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400ffd88
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1401009ce
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401009d3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140100a1c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140100a1c
dec r8
sub rdx, 1
jne 0x140100a02
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001570
Capabilities:
Connect socket
Connect udp socket
Create udp socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
mov ebx, 2
mov ecx, 0x7f000001
mov word [rsp + 0x20], bx
call sub.WS2_32.dll_htonl
mov ecx, 0x4e7
mov dword [rsp + 0x24], eax
call sub.WS2_32.dll_htons
xor r8d, r8d
mov word [rsp + 0x22], ax
lea edx, [rbx - 1]
mov ecx, ebx
call sub.WS2_32.dll_socket
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400015ce
or rax, 0xffffffffffffffff
jmp 0x1400015f3
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x1400015f0
mov rcx, rbx
call sub.WS2_32.dll_closesocket
jmp 0x1400015c8
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400ace50
add rsp, 0x40
pop rbx
ret

Function at 0x1400016e8
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x1d8
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov ecx, 0x202
lea rdx, [rsp + 0x20]
call sub.WS2_32.dll_WSAStartup
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.1400ace50
add rsp, 0x1d8
ret

Function at 0x140001784
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
xor r9d, r9d
mov rbx, r8
mov rdi, rcx
movups xmmword [rsp + 0x20], xmm0
lea r8d, [r9 + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x1400017fc
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov rcx, rdi
lea r8d, [r9 + 0x30]
call sub.WS2_32.dll_recv
cmp eax, 8
jb 0x1400017fc
cmp dword [rsp + 0x20], 0x65341202
jne 0x1400017fc
cmp dword [rsp + 0x24], 2
jne 0x1400017fc
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov al, 1
jmp 0x1400017fe
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400ace50
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
ret
Function at 0x140009ea4
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 0x140009ecb
and qword [r8], 0
call fcn.140009f74
mov rbx, rax
test rax, rax
je 0x140009f57
mov rcx, rax
call fcn.140009e2c
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009f4e
lea rcx, [rax + rbp]
call fcn.14000c0c8
mov rsi, rax
test rax, rax
je 0x140009f4e
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 0x140009f26
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rsi
call fcn.14000c118
jmp 0x140009f57
test ebp, ebp
jle 0x140009f38
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 0x140009f49
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009f59
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 0x14000a29c
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x14000a2d4
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 0x14000a32e
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b0f80]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x14000a318
cmp rdx, 2
jb 0x14000a318
cmp byte [r10], r11b
jne 0x14000a318
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 0x14000a2f6
jmp 0x14000a36f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14000a36f
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b0f80]
cmp dl, r11b
jne 0x14000a353
cmp byte [r10], r11b
jne 0x14000a353
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 0x14000a341
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000bf74
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 + 0x5fb0], 0
lea rdi, [rcx + 0x5fb8]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x14000bff1
xor edx, edx
call fcn.140018998
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.140017bb8
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5fb0]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1401019a8]
movsxd r8, eax
mov rax, qword [rbx + 0x5fc0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x14000bff6
call fcn.140017bb8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400132f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401019a0]
mov rbx, rcx
and dword [rax + 0x5f0c], 0
test rcx, rcx
je 0x140013359
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140013364
lea rdx, [0x1400b29f4]
mov rcx, rbx
mov rdi, rax
call fcn.140009f74
mov rbx, rax
test rax, rax
je 0x140013359
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 0x140027404
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 [0x140101388]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.140009440
mov rcx, qword [0x140101a28]
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 [0x140101a30]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x140101a38]
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 [0x140101a30], 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 + 0xe5c], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, reloc.WS2_32.dll_select
and al, bl
mov byte [rdi + 0xe5d], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, bl
mov byte [rdi + 0xe5f], 0
mov byte [rdi + 0xe5e], al
call fcn.140009440
cmp byte [rax + 0xc5], 0
lea rbx, [rax + 0xe40]
je 0x14002752d
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0xe44]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x140101a28]
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 [0x140101a28]
jne 0x140027582
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140027582
mov rcx, qword [0x140101a28]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140027582
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 + 0x50], 0
je 0x14002758d
or eax, 0xffffffff
jmp 0x140027592
call fcn.14000975c
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x1400275a5
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.1400275d0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ace50
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x14003ad1c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov ecx, 8
call fcn.1400ad22c
test rax, rax
je 0x14003ad3e
mov qword [rax], rbx
mov qword [rsp + 0x40], rax
lea rbx, [rdi + 8]
mov qword [rsp + 0x28], rbx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003a6b4]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14003ad78
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
and dword [rbx], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3

Function at 0x14003c924
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov r9d, 0x270
mov rbx, rcx
cmp dword [rcx], r9d
jne 0x14003c977
lea r8, [rcx + 8]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r9, 1
jne 0x14003c93c
jmp 0x14003c984
cmp dword [rcx], 0x4e0
jb 0x14003c984
call fcn.14003f86c
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 0x20
pop rbx
ret
Function at 0x14003f63c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003f6ab
cmp byte [rcx + 0x71], 0
je 0x14003f6ab
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x14003f700
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003f6c5
sub eax, 1
je 0x14003f6c9
cmp eax, 2
jne 0x14003f700
mov byte [rbx + 0x71], 0
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ace50
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003f6f7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003f700
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003f6ad
xor al, al
jmp 0x14003f6ad

Function at 0x14003f86c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14003f883
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14003f8ce
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret
Function at 0x14003fc80
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbx
sub rsp, 0x50
movd xmm5, dword [0x140101a68]
xorps xmm3, xmm3
movd xmm4, dword [0x140101a6c]
xorps xmm2, xmm2
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm4, xmm4
mulss xmm5, dword [0x1400b2be0]
mulss xmm4, dword [0x1400b2be0]
ucomiss xmm0, xmm5
jp 0x14003fcb9
je 0x14003fcd2
movaps xmm3, xmm0
subss xmm3, xmm5
movaps xmm0, xmm3
andps xmm0, xmmword [0x1400b2cd0]
comiss xmm0, xmm5
jbe 0x14003fcd2
xorps xmm3, xmm3
ucomiss xmm1, xmm4
jp 0x14003fcd9
je 0x14003fcf2
movaps xmm2, xmm1
subss xmm2, xmm4
movaps xmm0, xmm2
andps xmm0, xmmword [0x1400b2cd0]
comiss xmm0, xmm4
jbe 0x14003fcf2
xorps xmm2, xmm2
movd xmm0, dword [reloc.WS2_32.dll_accept]
xor ecx, ecx
and dword [rsp + 0x20], 0
mov edx, 0x1000
and dword [rsp + 0x30], 0
mov r8d, 0x3000
and dword [rsp + 0x38], 0
cvtdq2ps xmm0, xmm0
lea r9d, [rcx + 0x40]
mov dword [rsp + 0x34], 0x4001
divss xmm3, xmm0
divss xmm2, xmm0
cvttss2si eax, xmm3
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm2
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x14003fd98
movups xmm0, xmmword [0x140102048]
mov r8d, Ordinal_41
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140102058]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x140102060]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x140102064]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
add rsp, 0x50
pop rbx
ret
Function at 0x140043acc
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x150
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rax, qword [0x140102280]
mov rbx, rcx
mov qword [rsp + 0x28], rcx
test rax, rax
jne 0x140043ba7
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov r11, qword [rax]
mov rdx, r11
mov r8, qword [rdx + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x140043b8c
mov ecx, dword [r9 + 0x18]
test ecx, ecx
je 0x140043b8c
mov r14d, dword [r9 + 0x20]
dec ecx
mov edi, 0x811c9dc5
mov esi, ecx
lea rax, [r14 + rcx*4]
mov r10d, dword [rax + r8]
add r10, r8
mov al, byte [r10]
inc r10
test al, al
je 0x140043b88
movsx eax, al
xor eax, edi
imul edi, eax, 0x1000193
mov al, byte [r10]
inc r10
test al, al
jne 0x140043b67
cmp edi, 0x99fbc63d
je 0x140043c13
test ecx, ecx
jne 0x140043b49
mov rax, qword [rdx]
mov rdx, rax
cmp rax, r11
je 0x140043b9e
cmp qword [rax + 0x30], 0
jne 0x140043b25
xor eax, eax
mov qword [0x140102280], rax
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call rax
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140043bcf
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140039c70
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400ace50
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rsi*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x140043ba0
Function at 0x140044c38
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140101388]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x140101a60]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call sub.d3d9.dll_Direct3DCreate9Ex
xor edi, edi
test eax, eax
jns 0x140044c72
lea ecx, [rdi + 3]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
lea rbx, [0x140101c60]
mov rcx, rbx
lea r8d, [rdx + 0x40]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [0x140101a68]
lea rdx, [0x1401020a8]
mov rcx, qword [0x140101a60]
mov r9, qword [0x1401020a0]
mov qword [rsp + 0x30], rdx
xor edx, edx
mov dword [0x140101c60], eax
mov eax, dword [0x140101a6c]
mov dword [0x140101c64], eax
mov dword [0x140101c68], 0x15
lea r8d, [rdx + 1]
mov dword [0x140101c74], edi
mov dword [0x140101c90], 0x50
mov dword [0x140101c78], 1
mov dword [0x140101c8c], 1
mov dword [0x140101c88], 1
mov rax, qword [rcx]
mov qword [rsp + 0x28], rbx
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
call qword [rax + 0x80]
mov rcx, qword [0x1401020a8]
test rcx, rcx
je 0x140044d46
mov rax, qword [rcx]
lea r8, [0x140101cf8]
xor edx, edx
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rcx, qword [0x140101cf8]
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
mov qword [rsp + 0x30], 2
lea rcx, str.1.90.1_WIP
mov qword [rsp + 0x28], reloc.WS2_32.dll_sendto
mov edx, 0x38e8
mov r9d, 8
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r8d, 0x448
call fcn.140006ec8
xor ecx, ecx
call fcn.140006c50
call fcn.140009440
mov rcx, qword [0x1401020a0]
mov rbx, rax
call fcn.1400272d0
mov rcx, qword [0x1401020a8]
call fcn.140026994
xor ecx, ecx
call fcn.14001f984
mov rbx, qword [rbx + 0x30]
mov rcx, rbx
call fcn.14001c4c4
cmp byte [0x1400b753b], dil
mov r9, rax
movups xmm0, xmmword [str.v_fkoPT_SJMc]
mov ecx, dword [0x1400b7538]
mov dword [rsp + 0x58], ecx
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1400b7530]
movsd qword [rsp + 0x50], xmm0
je 0x140044e19
lea r8, [rsp + 0x40]
mov eax, 0x3521cfb3
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x35
mov al, dil
inc edi
sub al, cl
add al, 0x35
xor byte [r8], al
inc r8
cmp edi, 0x1c
jl 0x140044ded
movss xmm2, dword [0x1400b2d70]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], r9
mov rcx, rbx
xor r9d, r9d
call fcn.140019d78
mov rcx, qword [0x140101a60]
mov qword [0x140101a70], rax
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ace50
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140044f4c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
cmp dword [0x140101d08], 0x12
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
je 0x140045092
xor edi, edi
mov rdx, qword [0x1401020a0]
lea rcx, [0x140101d00]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140044fad
lea rcx, [0x140101d00]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140101d00]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x140102250]
mov rbx, rax
je 0x140045003
cmp rax, qword [0x140101a58]
jne 0x140044ffc
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1401020a0]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], edi
xor r8d, r8d
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov qword [0x140102250], rbx
mov rcx, qword [0x140101a58]
lea rax, [0x140101c60]
lea r9, [0x140101a6c]
mov qword [rsp + 0x20], rax
lea r8, [0x140101a68]
lea rdx, [rsp + 0x40]
call fcn.14003f310
call fcn.140009440
mov ecx, 1
mov rbx, rax
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14004505d
mov ecx, dword [rbx + 0xe44]
mov al, 1
mov dword [rbx + 0x3810], ecx
mov byte [rbx + 0x3860], 1
jmp 0x140045060
mov al, dil
mov byte [rbx + 0xe48], al
call fcn.1400456b4
jmp 0x14004507d
mov rcx, qword [0x1401020a8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x140101c9c], edi
je 0x14004506d
cmp dword [0x140101d08], 0x12
jne 0x140044f6d
call fcn.1400272b8
call fcn.1400275c4
xor ecx, ecx
call fcn.14000757c
mov rcx, qword [0x1401020a0]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.USER32.dll_DestroyWindow]