joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800945c0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x1800c0028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18009460f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800c66c0]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18009464d
cmp rsi, r14
jb 0x180094645
cmp rsi, r15
jae 0x180094645
cmp qword [rsi + 8], 0
jne 0x180094817
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180094630
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800946e2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800946d9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800946d9
cmp dword [rsp + 0x40], 0x10000
je 0x18009475b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800946d9
sub rbx, rbp
cmp rbx, r14
jae 0x1800946a0
test rsi, rsi
jne 0x1800947c0
cmp rdi, r15
ja 0x1800947ff
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x1800947ff
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800947ff
cmp dword [rsp + 0x40], 0x10000
je 0x180094791
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180094712
jmp 0x1800947ff
test rbx, rbx
je 0x1800946d9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800947c0
cmp rbx, r14
jae 0x180094680
jmp 0x1800946e2
test rdi, rdi
je 0x1800947ff
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800947c0
cmp rdi, r15
jbe 0x1800946f0
jmp 0x1800947ff
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800947d0
mov rax, qword [0x1800c66c0]
mov qword [rsi], rax
mov qword [0x1800c66c0], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18009bd00
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret
Function at 0x180095220
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800c0028]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18009534b
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x180095342
nop dword [rax]
cmp dword [rsp + 0x20], 0x10
jb 0x180095324
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x180095324
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x180095324
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800952e2
mov rcx, qword [0x1800c50f0]
mov r8d, 0x200
mov dword [rbx + 8], 0x80
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180095342
jmp 0x180095317
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x180095317
mov rcx, qword [0x1800c50f0]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180095342
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x180095290
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800953a3
cmp dword [rbx + 0xc], esi
jbe 0x1800953a3
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
lea ecx, [rdx + 0x5a]
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18009539c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180095070
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180095360
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18009bd00
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1800953d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1800c0028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
lea r9, [rsp + 0x20]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1800c66b0]
mov r8, qword [rbx]
movzx eax, byte [rbx + 0x20]
and al, 1
movzx ecx, al
lea rdi, [r8 - 5]
cmove rdi, r8
mov r8d, 0x40
lea rbp, [rcx*2 + 5]
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180095443
mov eax, 0xa
jmp 0x1800954d6
test esi, esi
je 0x180095465
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, edi
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180095488
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180095488
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180095481
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180095488
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx ecx, sil
shl sil, 2
add cl, cl
xor cl, byte [rbx + 0x20]
and cl, 2
xor cl, byte [rbx + 0x20]
xor sil, cl
and sil, 4
xor sil, cl
mov byte [rbx + 0x20], sil
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009bd00
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180095500
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, ecx
mov ecx, dword [0x1800c66bc]
mov ebx, edi
test ecx, ecx
je 0x18009563b
mov rax, qword [0x1800c66b0]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180095558
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180095530
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18009563b
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180095220
mov r8d, dword [0x1800c66bc]
cmp ebx, r8d
jae 0x1800955c8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x1800c66b0]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800955c1
mov edx, esi
mov ecx, ebx
call fcn.1800953d0
mov edi, eax
test eax, eax
jne 0x1800955c8
mov r8d, dword [0x1800c66bc]
inc ebx
cmp ebx, r8d
jb 0x180095590
cmp qword [rsp + 0x20], 0
je 0x18009563b
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180095627
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax]
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180095618
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x1800955f0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800c50f0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x48]
mov eax, edi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800959d0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x30
xor r15d, r15d
mov edi, 1
mov r14d, r15d
mov ebx, r15d
xor eax, eax
lock cmpxchg dword [0x1800c50e8], edi
je 0x180095a19
cmp rbx, 0x20
jae 0x180095a02
xor ecx, ecx
jmp 0x180095a04
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800c50e8], edi
jne 0x1800959f8
cmp qword [0x1800c50f0], r14
mov qword [rsp + 0x60], r13
je 0x180095bab
mov ecx, dword [0x1800c66bc]
mov ebx, r15d
test ecx, ecx
je 0x180095a51
mov rdx, qword [0x1800c66b0]
mov rax, rdx
cmp qword [rax], r14
je 0x180095a5c
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180095a42
mov r14d, 4
jmp 0x180095bb1
cmp ebx, 0xffffffff
je 0x180095a51
mov eax, ebx
imul r13, rax, 0x38
test byte [rdx + r13 + 0x20], 2
je 0x180095b10
xor r8d, r8d
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180095220
xor edx, edx
mov ecx, ebx
call fcn.1800953d0
mov r14d, eax
cmp qword [rsp + 0x20], r15
je 0x180095b00
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180095aec
mov rdi, qword [rsp + 0x20]
mov qword [rsp + 0x50], rbp
mov ebp, eax
mov qword [rsp + 0x58], rsi
nop
mov r8d, dword [rdi]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180095ad8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rdi, 4
sub rbp, 1
jne 0x180095ab0
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800c50f0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test r14d, r14d
jne 0x180095bb1
mov rdx, qword [0x1800c66b0]
mov rcx, qword [rdx + r13 + 0x10]
call fcn.180094840
mov edx, dword [0x1800c66bc]
dec edx
cmp ebx, edx
jae 0x180095b5f
mov eax, edx
imul rcx, rax, 0x38
mov rax, qword [0x1800c66b0]
movups xmm0, xmmword [rcx + rax]
movups xmmword [rax + r13], xmm0
movups xmm1, xmmword [rcx + rax + 0x10]
movups xmmword [rax + r13 + 0x10], xmm1
movups xmm0, xmmword [rcx + rax + 0x20]
movups xmmword [rax + r13 + 0x20], xmm0
movsd xmm1, qword [rcx + rax + 0x30]
movsd qword [rax + r13 + 0x30], xmm1
mov ecx, dword [0x1800c66b8]
mov eax, ecx
mov dword [0x1800c66bc], edx
shr eax, 1
cmp eax, 0x20
jb 0x180095bb1
cmp eax, edx
jb 0x180095bb1
mov r8, qword [0x1800c66b0]
mov eax, ecx
mov rcx, qword [0x1800c50f0]
xor edx, edx
shr rax, 1
imul r9, rax, 0x38
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
test rax, rax
je 0x180095bb1
shr dword [0x1800c66b8], 1
mov qword [0x1800c66b0], rax
jmp 0x180095bb1
mov r14d, 2
xchg dword [0x1800c50e8], r15d
mov r13, qword [rsp + 0x60]
mov eax, r14d
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x180095bd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x1800c50e8], ebp
je 0x180095c27
cmp rbx, 0x20
jae 0x180095c10
xor ecx, ecx
jmp 0x180095c12
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x1800c50e8], ebp
jne 0x180095c06
cmp qword [0x1800c50f0], r15
je 0x180095d21
test rdi, rdi
jne 0x180095c47
mov ecx, esi
call fcn.180095500
mov ebp, eax
jmp 0x180095d26
mov ecx, dword [0x1800c66bc]
mov ebx, r15d
test ecx, ecx
je 0x180095c6f
mov r8, qword [0x1800c66b0]
mov rax, r8
nop
cmp rdi, qword [rax]
je 0x180095c79
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180095c60
mov ebp, 4
jmp 0x180095d26
cmp ebx, 0xffffffff
je 0x180095c6f
mov eax, ebx
imul rdx, rax, 0x38
movzx eax, byte [rdx + r8 + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x180095d18
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.180095220
mov edx, esi
mov ecx, ebx
call fcn.1800953d0
mov ebp, eax
cmp qword [rsp + 0x20], r15
je 0x180095d26
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180095d02
mov rbx, qword [rsp + 0x20]
mov esi, eax
nop word [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x180095cf8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rsi, 1
jne 0x180095cd0
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x1800c50f0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x180095d26
neg esi
sbb ebp, ebp
add ebp, 6
jmp 0x180095d26
mov ebp, 2
xchg dword [0x1800c50e8], r15d
mov rbx, qword [rsp + 0x40]
mov eax, ebp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
Function at 0x18009a0b0
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbx + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor ecx, ecx
mov qword [rbx + 0x60], rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea r8, [0x1800b446c]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONIN_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 8]
lea r8, [0x1800b4470]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea rcx, [rbx + 0x10]
lea r8, [0x1800b4470]
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
lea rcx, str.Debug_Console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rcx, qword [rbx + 0x60]
mov edx, 5
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_ShowWindow]
Function at 0x18009ad90
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x370
mov rax, qword [0x1800c0028]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rbx, qword [0x1800c49e0]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbx], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rbx + 8], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, rax
mov qword [rbx + 0x10], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x30]
sub eax, dword [rsp + 0x20]
mov r8d, 0x104
mov rcx, qword [rbx + 0x10]
mov dword [rbx + 0x18], eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
mov dword [rbx + 0x1c], eax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov rcx, qword [rbx + 0x10]
lea rax, [rsp + 0x30]
mov r8d, 0x104
mov qword [rbx + 0x28], rax
lea rdx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_GetClassNameA]
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x140]
mov r9d, 0x104
mov qword [rbx + 0x30], rax
lea r8, [rsp + 0x250]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
lea rax, [rsp + 0x250]
mov qword [rbx + 0x38], rax
lea rdx, str.GameData::Init___Process_Window_Info_Established_n
mov rcx, qword [0x1800c49d0]
mov r8d, dword [rcx + 0x48]
call fcn.18009a170
mov rdi, qword [0x1800c49f8]
mov rcx, rdi
call fcn.18009a220
test al, al
je 0x18009af00
mov rax, qword [0x1800c5198]
lea rdx, [0x18009aa50]
mov r8, rdi
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call fcn.1800956e0
test eax, eax
jne 0x18009aeb4
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180095bd0
mov rax, qword [0x1800c5198]
lea r8, [rdi + 8]
lea rdx, [fcn.1800025c0]
mov rbx, qword [rax + 0x60]
mov rcx, rbx
call fcn.1800956e0
test eax, eax
jne 0x18009aee1
lea edx, [rax + 1]
mov rcx, rbx
call fcn.180095bd0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1800c49d0]
lea rdx, str.D3D11Window::Hook_Initialized_n
mov r8d, dword [rcx + 0x48]
jmp 0x18009af12
mov rcx, qword [0x1800c49d0]
lea rdx, str.___D3D11Window::Hook_Failed_to_Initialize_n
mov r8d, dword [rcx + 0x44]
call fcn.18009a170
lea rcx, str.PalWorld_Win64_Shipping.exe
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [0x1800c0048]
lea r8, [0x1800c50b0]
add rcx, rax
mov qword [0x1800c0040], rax
lea rdx, [0x1800010a0]
mov qword [0x1800c50b8], rcx
call fcn.1800956e0
mov edx, 1
xor ecx, ecx
call fcn.180095bd0
mov rcx, qword [0x1800c49d0]
lea rdx, str.Hooking::Hook_Initialized_n
mov r8d, dword [rcx + 0x48]
call fcn.18009a170
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.18009bd00
mov rbx, qword [rsp + 0x380]
add rsp, 0x370
pop rdi
ret
Function at 0x140001c80
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140052790]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140001e9e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140001e9e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140052790]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140001d54
movsx rdx, word [r8 + 0x60a8]
lea rax, [r8 + 0x60ac]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140001d49
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60a8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60ac]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60a0]
test rdi, rdi
je 0x140001d76
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x2c], rbx
mov qword [rdi + 0x34], rbx
mov qword [rdi + 0x3c], rbx
mov qword [rdi + 0x44], rbx
mov dword [rdi + 0x4c], ebx
jmp 0x140001d79
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
mov qword [rsi + 0x80], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov dword [rdi + 0x28], 9
test r8, r8
je 0x140001dbc
mov rsi, qword [r8 + 0x90]
jmp 0x140001dbf
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140001dea
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140052790]
mov rcx, qword [rax + 0x4b00]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140001e5e
inc rbx
cmp rbx, 5
jl 0x140001e40
jmp 0x140001e8a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x140001ea0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140040350
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140002030
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140052790]
mov edx, 0x210
call fcn.140011b00
cmp byte [rax], 0
je 0x1400020a6
xor edx, edx
mov ecx, 0x210
call fcn.140014050
test al, al
je 0x1400020a6
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400020a6
mov rbx, qword [0x140052790]
cmp byte [rbx + 0x38d9], 0
je 0x140002092
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.1400050a0
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rcx, qword [0x140052790]
mov edx, 0x214
call fcn.140011b00
cmp byte [rax], 0
je 0x140002116
xor edx, edx
mov ecx, 0x214
call fcn.140014050
test al, al
je 0x140002116
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140002116
mov rbx, qword [0x140052790]
cmp byte [rbx + 0x38d9], 0
je 0x140002102
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.1400050a0
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rcx, qword [0x140052790]
mov edx, 0x212
call fcn.140011b00
cmp byte [rax], 0
je 0x140002186
xor edx, edx
mov ecx, 0x212
call fcn.140014050
test al, al
je 0x140002186
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140002186
mov rbx, qword [0x140052790]
cmp byte [rbx + 0x38d9], 0
je 0x140002172
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.1400050a0
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rcx, qword [0x140052790]
mov edx, 0x216
call fcn.140011b00
cmp byte [rax], 0
je 0x1400021f6
xor edx, edx
mov ecx, 0x216
call fcn.140014050
test al, al
je 0x1400021f6
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400021f6
mov rbx, qword [0x140052790]
cmp byte [rbx + 0x38d9], 0
je 0x1400021e2
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.1400050a0
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140005560
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400055bd
lea rbx, [0x140043b00]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400055a4
cmp r10, 2
jb 0x1400055a4
cmp byte [r9], r8b
jne 0x1400055a4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140005580
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400055ff
lea rbx, [0x140043b00]
cmp r8b, 0x23
jne 0x1400055e3
cmp byte [r9], r8b
jne 0x1400055e3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1400055d0
mov rbx, qword [rsp + 8]
not eax
ret