joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2b3693dc0
Capabilities:
Process ghostly hollowing
Set file attributes
Write file on windows

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
mov rsi, rdx
mov ebx, r8d
call fcn.2b3693af0
mov r12, rax
lea rax, [rax - 1]
cmp rax, 0xfffffffffffffffd
jbe 0x2b3693e00
mov rax, 0xffffffffffffffff
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
ret
lea rdi, [rsp + 0x70]
mov byte [rsp + 0x5f], 1
mov r9d, 1
mov rcx, r12
mov dword [rsp + 0x20], 0xd
lea r8, [rsp + 0x5f]
mov rdx, rdi
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
test eax, eax
js 0x2b3693de4
lea rax, [rsp + 0x60]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x60], 0
mov rcx, r12
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x2b3693ed8
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], 0
mov edx, 0xf001f
mov dword [rsp + 0x28], 0x1000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.ntdll.dll_NtCreateSection]
test eax, eax
jne 0x2b3693de4
mov rcx, r12
call qword [sym.imp.ntdll.dll_NtClose]
mov rax, qword [rsp + 0x68]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x2b3693de4
Function at 0x2b36a2320
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.2b36b00f0
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.2b36b00f0
mov r8, rbx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x2b36a2c92
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2b3789208]
test eax, eax
je 0x2b36a2d2a
lea rax, [0x2b37891e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2b3789210]
mov qword [rbp - 8], rax
jmp 0x2b36a2d0e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2b36a2d02
cmp qword [rbp - 0x10], 0
je 0x2b36a2d02
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2b36a2cc8
lea rax, [0x2b37891e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2b36a2d2b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2b36a2e30
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2b36a2e58
mov eax, 0
jmp 0x2b36a2ea6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2b36a2e81
mov eax, 0
jmp 0x2b36a2ea6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2b36a2ea1
mov eax, 0
jmp 0x2b36a2ea6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2b36a2eac
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2b36a2f2a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2b36a2f21
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2b36a2f21
mov rax, qword [rbp - 8]
jmp 0x2b36a2f3f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2b36a2ef4
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x2b36b2320
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x98
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rsp + 0x20], rax
movabs rax, 0x6b5f6e6970732070
mov qword [rsp + 0x28], rdx
movabs rdx, 0x20726f6620737965
mov qword [rsp + 0x30], rax
movabs rax, 0x20646165726874
mov qword [rsp + 0x38], rdx
xor edx, edx
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov word [rsp + 0x88], ax
mov byte [rsp + 0x8a], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rdx, [rsp + 0x47]
mov r8d, 0xa
mov ecx, eax
call qword [sym.imp.msvcrt.dll__ultoa]
cmp byte [rsp + 0x47], 0
je 0x2b36b2432
mov eax, 0x28
lea rcx, [rsp + 0x20]
jmp 0x2b36b240a
add rax, 1
cmp rax, 0x6b
je 0x2b36b2427
cmp byte [rcx + rax], 0
movsxd rdx, eax
jne 0x2b36b2400
cmp edx, 0x6a
je 0x2b36b2427
lea eax, [rdx + 1]
cdqe
mov byte [rsp + rdx + 0x20], 0xa
mov byte [rsp + rax + 0x20], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call sub.msvcrt.dll_abort
mov eax, 0x28
mov edx, 0x27
lea rcx, [rsp + 0x20]
jmp 0x2b36b241b

Function at 0x2b36b27d0
Capabilities:
Allocate thread local storage

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x28
lea rsi, [0x2b3789dd0]
mov rcx, rsi
call fcn.2b36b2090
lea r13, [rax + 8]
mov r12, rax
mov rcx, r13
call fcn.2b36b18a0
mov ebx, dword [0x2b3789dd0]
test ebx, ebx
jne 0x2b36b2840
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x2b3754158], eax
cmp eax, 0xffffffff
je 0x2b3753946
mov dword [0x2b3789dd0], 1
mov rcx, r13
call fcn.2b36b1bc0
test r12, r12
je 0x2b36b2872
mov rcx, r12
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
jmp fcn.2b36b2450
cmp ebx, 1
je 0x2b36b2821
mov ecx, 2
call qword [fcn.2b36b00f0]
mov r9d, ebx
mov r8, rsi
lea rdx, str._once__p_is__d_n
mov rcx, rax
call fcn.2b36b2060
mov rcx, r13
call fcn.2b36b1bc0
test r12, r12
jne 0x2b36b282e
add rsp, 0x28
pop rbx
pop rsi
pop r12
pop r13
ret
call sub.msvcrt.dll_abort
nop
Function at 0x2b3718660
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
jmp 0x2b3718687
call rbp
cmp dword [rax], 4
jne 0x2b37186a4
mov rcx, rdi
call fcn.2b3718490
mov r8d, ebx
mov rdx, rsi
mov ecx, eax
call sub.msvcrt.dll__read
movsxd r12, eax
cmp eax, 0xffffffff
je 0x2b3718680
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x2b374ba60
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov rax, rcx
mov r10, rdx
and r11, 0xfffffffffffffff8
add r11, rcx
movabs rcx, 0xc6a4a7935bd1e995
imul r10, rcx
xor r10, r8
cmp rax, r11
je 0x2b374bab8
nop word cs:[rax + rax]
mov r9, qword [rax]
add rax, 8
imul r9, rcx
mov r8, r9
shr r8, 0x2f
xor r8, r9
imul r8, rcx
xor r8, r10
mov r10, r8
imul r10, rcx
cmp r11, rax
jne 0x2b374ba90
and edx, 7
je 0x2b374baed
sub edx, 1
movsxd rax, edx
xor edx, edx
nop dword [rax]
movzx ecx, byte [r11 + rax]
shl rdx, 8
sub rax, 1
add rdx, rcx
test eax, eax
jns 0x2b374bac8
xor rdx, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rdx
movabs rax, 0xc6a4a7935bd1e995
mov rdx, r10
shr rdx, 0x2f
xor rdx, r10
imul rdx, rax
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
ret
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013920
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:
Parse pe header

Disassembly:
jmp 0x140014c70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014c90
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014ca3
xor al, al
jmp 0x140014d11
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 0x140014ccd
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014ce1
xor al, al
jmp 0x140014d11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014cf3
xor al, al
jmp 0x140014d11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x140014d0f
xor al, al
jmp 0x140014d11
mov al, 1
add rsp, 0x38
ret
Function at 0x185d7a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x185d7aa
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x185d7d3
pop rbp
sub rbp, 0x33
sub rbp, 0x145d7a0
sub rsp, 0x20
jmp 0x185d7f2
mov rax, 0x145d7a0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x47f5e13
xor byte [rax], dl
inc rax
dec rcx
jne 0x185d811
jmp 0x185d828
pop rbx
invalid
Function at 0x140009a78
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 0x140009a9f
and qword [r8], 0
call fcn.140009b84
mov rbx, rax
test rax, rax
je 0x140009b67
mov rcx, rax
call fcn.140009a00
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140009b5e
mov rax, qword [0x1400d8f88]
test rax, rax
je 0x140009ad7
inc dword [rax + 0xf4]
mov rdx, qword [0x1400d8f98]
lea rcx, [rdi + rbp]
call qword [section..data]
mov rsi, rax
test rax, rax
je 0x140009b5e
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 0x140009b36
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d8f88]
test rax, rax
je 0x140009b24
dec dword [rax + 0xf4]
mov rdx, qword [0x1400d8f98]
mov rcx, rsi
call qword [0x1400d7008]
jmp 0x140009b67
test ebp, ebp
jle 0x140009b48
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 0x140009b59
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009b69
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 0x140009ea8
Capabilities:
Encode data using xor
Hash data with crc32

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

Function at 0x140009ee0
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 0x140009f3a
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b21c0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x140009f24
cmp rdx, 2
jb 0x140009f24
cmp byte [r10], r11b
jne 0x140009f24
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 0x140009f02
jmp 0x140009f7b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x140009f7b
mov r11b, reloc.WLDAP32.dll_Ordinal_35
lea rdi, [0x1400b21c0]
cmp dl, r11b
jne 0x140009f5f
cmp byte [r10], r11b
jne 0x140009f5f
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 0x140009f4d
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x14000b344
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 0x14000b3dd
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x14000b395
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.140016928
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.14001608c
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, [0x1400d8f90]
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 0x14000b3e5
mov rcx, rbx
call fcn.14001608c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140011d9c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400d8f88]
mov rbx, rcx
and dword [rax + 0x537c], 0
test rcx, rcx
je 0x140011e05
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140011e10
lea rdx, [0x1400b35f8]
mov rcx, rbx
mov rdi, rax
call fcn.140009b84
mov rbx, rax
test rax, rax
je 0x140011e05
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 0x140025874
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 [0x1400d8a08]
xor rax, rsp
mov qword [rbp - 8], rax
call fcn.1400091dc
mov rcx, qword [0x1400d9010]
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 [0x1400d9018]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1400d9020]
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 [0x1400d9018], 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 0x14002599d
cvttss2si ecx, dword [rbx]
lea rdx, [rbp - 0x30]
cvttss2si eax, dword [rax + 0xdf8]
mov dword [rbp - 0x30], ecx
mov rcx, qword [0x1400d9010]
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 [0x1400d9010]
jne 0x1400259f2
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400259f2
mov rcx, qword [0x1400d9010]
lea rdx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400259f2
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 0x1400259fd
or eax, 0xffffffff
jmp 0x140025a02
call fcn.1400093a8
cmp dword [reloc.WS2_32.dll_htons], eax
je 0x140025a15
mov dword [reloc.WS2_32.dll_htons], eax
call fcn.140025a40
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400acfa0
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140037810
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x28]
call fcn.14003a134
mov rax, qword [rsp + 0x28]
mov rdx, qword [rax + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140039fa8
lea rcx, [rsp + 0x38]
call fcn.14003ae24
movzx eax, al
test eax, eax
je 0x140037898
lea rcx, [rsp + 0x38]
call fcn.14004b460
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 0x140037898
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140049898
mov rcx, rax
call fcn.140037d1c
cmp eax, 0xfaba0065
jne 0x140037896
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.1400471d8
jmp 0x1400378af
jmp 0x140037850
lea rcx, [rsp + 0x28]
call fcn.1400498cc
movzx eax, al
test eax, eax
jne 0x14003781e
xor eax, eax
add rsp, 0x58
ret

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

Function at 0x14003b7fc
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 0x14003b81e
mov rcx, qword [rsp + 0x40]
call fcn.1400464e0
jmp 0x14003b835
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x14003b835
mov rcx, qword [rsp + 0x40]
call fcn.1400462ec
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 0x1400436d8
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 [0x1400d8a08]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x30], 0
cmp dword [rsp + 0x90], 0
jl 0x140043731
cmp dword [rsp + 0x90], 0x7c
jge 0x140043731
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x90]
lea rcx, [0x1400d7620]
call fcn.140043958
lea rcx, [rsp + 0x50]
call fcn.140039484
nop
cmp qword [rsp + 0x30], 0
jne 0x140043757
lea rdx, [0x1400b8be8]
lea rcx, [rsp + 0x50]
call fcn.14003a9d8
jmp 0x140043766
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003a9d8
cmp dword [rsp + 0xa0], 1
jne 0x140043781
lea rdx, [0x1400b8bf8]
lea rcx, [rsp + 0x50]
call fcn.14003a9d8
movss xmm2, dword [0x1400b3808]
movss xmm1, dword [0x1400ba808]
lea rcx, [rsp + 0x48]
call fcn.140039a30
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
call fcn.140046f84
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call fcn.14002d4ec
movzx eax, al
test eax, eax
je 0x1400437f6
cmp dword [rsp + 0xa0], 0
jne 0x1400437f6
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.14003a330
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400acfa0
add rsp, 0x88
ret
Function at 0x140043818
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x38
lea rcx, [0x1400b8f40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b8f30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400438a1
lea rcx, [0x1400b8f58]
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 0x1400438a1
lea rcx, [0x1400b8f6c]
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 0x1400438a1
xor al, al
jmp 0x140043953
lea rcx, str.win32u
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b8f78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140043923
lea rcx, [0x1400b8fb0]
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 0x140043923
lea rcx, str.user32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x1400b8fb8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x140043923
xor al, al
jmp 0x140043953
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x20]
lea rcx, [0x1400d95f0]
call fcn.1400ae1ee
mov r8d, reloc.WLDAP32.dll_Ordinal_30
mov rdx, qword [rsp + 0x28]
lea rcx, [0x1400d9610]
call fcn.1400ae1ee
mov al, 1
add rsp, 0x38
ret

Function at 0x14004447c
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x88
mov rax, qword [0x1400d8a08]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x50]
call fcn.140044ac4
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov r8, qword [rsp + 0x28]
lea rdx, str.KreYze_Free_External
lea rcx, [rsp + 0x30]
call fcn.14003438c
nop
lea rcx, [rsp + 0x50]
call fcn.14003a330
lea rcx, [rsp + 0x30]
call fcn.140046f84
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [rsp + 0x30]
call fcn.14003a330
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400acfa0
add rsp, 0x88
ret
Function at 0x140044504
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 0x140044536
xor eax, eax
jmp 0x14004458c
mov r8d, reloc.WLDAP32.dll_Ordinal_30
lea rdx, [0x1400d9610]
mov rcx, qword [rsp + 0x28]
call fcn.1400ae1ee
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