joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800a3e70
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1800a3bfc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x1800a3b8a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1800a3e70
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x1800a3bca
mov qword [rsp + 0x38], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x18
call fcn.1801d1c00
mov rcx, rbx
test rbx, rbx
jne 0x1800a3bb0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x30], rax
call fcn.1800a5d20
add rsp, 0x20
pop rdi
ret
push rbp
push rsi
push r14
sub rsp, 0x40
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x1800a3f6e
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rsp + 0x60], rbx
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x38], rdi
mov rbx, r14
mov qword [rsp + 0x30], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
xor rcx, rax
mov qword [rsp + 0x28], r13
movzx eax, byte [r14 + 0x11]
mov r13, qword [r14 + 8]
imul rcx, r8
mov qword [rsp + 0x20], r15
mov r15, qword [rsi + 0x30]
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
mov qword [rsp + 0x78], rdx
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
imul rcx, r8
and r15, rcx
shl r15, 4
add r15, rdx
mov rax, qword [r15]
mov qword [rsp + 0x68], rax
mov rax, qword [r15 + 8]
mov qword [rsp + 0x70], rax
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1801d1c00
dec qword [rsi + 0x10]
cmp rdi, qword [rsp + 0x70]
je 0x1800a3f7a
cmp rbx, rbp
jne 0x1800a3f20
cmp qword [rsp + 0x68], r14
jne 0x1800a3f4d
mov qword [r15], rbx
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x60]
mov rax, rbp
add rsp, 0x40
pop r14
pop rsi
pop rbp
ret
cmp qword [rsp + 0x68], r14
jne 0x1800a3f89
mov qword [r15], r12
mov rax, r12
jmp 0x1800a3f8c
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x1800a3f4d
nop word [rax + rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x78]
mov r14, qword [r15 + 8]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1801d1c00
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x1800a4018
cmp rbx, rbp
jne 0x1800a3ff2
jmp 0x1800a3f4a
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x1800a3fa0
jmp 0x1800a3f4d
Function at 0x1800ace40
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x1800acf05
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x1800acf05
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1800acf1e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x1800acef5
cmp byte [rcx], 0x5c
jne 0x1800aceee
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x1800aceee
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x1800acedc
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x1800aceeb
test r8b, 0x10
jne 0x1800aceee
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x1800aceee
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.1800a9410
test edi, edi
jne 0x1800ace60
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.1800a9400
int3
Function at 0x1800aedb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
cmp rdi, 0x40000000
jbe 0x1800aedf0
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1802a6390]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x1800aee2e
cmp rsi, r14
jb 0x1800aee26
cmp rsi, r15
jae 0x1800aee26
cmp qword [rsi + 8], 0
jne 0x1800aeff7
mov rsi, qword [rsi]
test rsi, rsi
jne 0x1800aee11
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800aeec2
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800aeeb9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800aeeb9
cmp dword [rsp + 0x70], 0x10000
je 0x1800aef3b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x1800aeeb9
sub rbx, rbp
cmp rbx, r14
jae 0x1800aee80
test rsi, rsi
jne 0x1800aefa0
cmp rdi, r15
ja 0x1800aefdf
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
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 0x1800aefdf
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800aefdf
cmp dword [rsp + 0x70], 0x10000
je 0x1800aef71
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x1800aeef2
jmp 0x1800aefdf
test rbx, rbx
je 0x1800aeeb9
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 0x1800aefa0
cmp rbx, r14
jae 0x1800aee60
jmp 0x1800aeec2
test rdi, rdi
je 0x1800aefdf
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 0x1800aefa0
cmp rdi, r15
jbe 0x1800aeed0
jmp 0x1800aefdf
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 0x1800aefb0
mov rax, qword [0x1802a6390]
mov qword [rsi], rax
mov qword [0x1802a6390], rsi
mov r12, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb8]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x1800af9e0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
xor r15d, r15d
mov r14d, edx
mov qword [rcx], r15
mov rbx, rcx
mov qword [rcx + 8], r15
xor edx, edx
mov ecx, 4
mov ebp, r8d
mov edi, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1800afb9a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1800afb29
mov edi, 1
nop dword [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800afae3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800afae3
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800afae3
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800afaa2
mov rcx, qword [0x18028b100]
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 0x1800afb0c
jmp 0x1800afad3
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800afad3
mov rcx, qword [0x18028b100]
add eax, eax
mov r9d, eax
mov r8, rdx
shl r9, 2
xor edx, edx
mov dword [rbx + 8], eax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x1800afb0c
mov qword [rbx], rax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
lea eax, [rcx + 1]
mov dword [rbx + 0xc], eax
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1800afa50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1800afb29
mov r8, qword [rbx]
mov edi, r15d
test r8, r8
je 0x1800afb29
mov rcx, qword [0x18028b100]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rbx], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1800afb9a
cmp qword [rbx], r15
je 0x1800afb95
mov edi, r15d
cmp dword [rbx + 0xc], r15d
jbe 0x1800afb95
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, edi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800afb8e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rsi
call fcn.1800af850
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x1800afb50
mov eax, r15d
jmp 0x1800afb9f
mov eax, 9
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x1800afbc0
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, 0x20
mov eax, ecx
lea r9, [rsp + 0x30]
imul rbx, rax, 0x38
mov esi, edx
add rbx, qword [0x1802a6380]
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 0x1800afc24
mov eax, 0xa
jmp 0x1800afcb7
test esi, esi
je 0x1800afc46
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 0x1800afc69
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800afc69
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800afc62
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800afc69
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x30]
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 rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800afcd0
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x30
mov r8d, dword [0x1802a638c]
mov esi, ecx
xor ecx, ecx
mov ebx, ecx
test r8d, r8d
je 0x1800afd17
mov rax, qword [0x1802a6380]
add rax, 0x20
nop word [rax + rax]
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x1800afd24
inc ebx
add rax, 0x38
cmp ebx, r8d
jb 0x1800afd00
mov eax, ecx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
cmp ebx, 0xffffffff
je 0x1800afd17
test esi, esi
mov qword [rsp + 0x48], rdi
mov edx, 0xffffffff
setne cl
mov r8d, ecx
lea rcx, [rsp + 0x20]
call fcn.1800af9e0
mov edi, eax
test eax, eax
jne 0x1800afe0f
mov r9d, dword [0x1802a638c]
cmp ebx, r9d
jae 0x1800afd9c
nop dword [rax + rax]
mov ecx, ebx
imul rdx, rcx, 0x38
mov rcx, qword [0x1802a6380]
movzx r8d, byte [rdx + rcx + 0x20]
shr r8d, 1
and r8d, 1
cmp r8d, esi
je 0x1800afd95
mov edx, esi
mov ecx, ebx
call fcn.1800afbc0
mov edi, eax
test eax, eax
jne 0x1800afd9c
mov r9d, dword [0x1802a638c]
inc ebx
cmp ebx, r9d
jb 0x1800afd60
cmp qword [rsp + 0x20], 0
je 0x1800afe0d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x1800afdf9
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x40], rbp
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800afdea
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 0x1800afdc0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18028b100]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rsi
ret
Function at 0x1800b6750
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c700], edx
jle 0x1800b6831
lea rcx, [0x18028c700]
call fcn.1801d1cb0
cmp dword [0x18028c700], 0xffffffff
jne 0x1800b6831
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800b681e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800b67c2
mov rdx, r11
test rax, rax
je 0x1800b6800
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800b67e0
cmp r9d, 0x7a1c884e
je 0x1800b680b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800b67b1
jmp 0x1800b681e
lea r8, str.m_iHealth
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c6f8], r11d
lea rcx, [0x18028c700]
call fcn.1801d1c44
movsxd rax, dword [0x18028c6f8]
add rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1800b6850
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c7fc], edx
jle 0x1800b6931
lea rcx, [0x18028c7fc]
call fcn.1801d1cb0
cmp dword [0x18028c7fc], 0xffffffff
jne 0x1800b6931
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800b691e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800b68c2
mov rdx, r11
test rax, rax
je 0x1800b6900
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800b68e0
cmp r9d, 0x7a1c884e
je 0x1800b690b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800b68b1
jmp 0x1800b691e
lea r8, str.m_lifeState
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c6fc], r11d
lea rcx, [0x18028c7fc]
call fcn.1801d1c44
movsxd rax, dword [0x18028c6fc]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800b73f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
xor edi, edi
mov qword [rsp + 0xc8], 1
lea rcx, [rsp + 0xc8]
call fcn.1800bc010
mov rbx, qword [0x180285a40]
test rbx, rbx
je 0x1800b7404
mov rcx, rbx
call fcn.1800b6850
cmp byte [rax], 0
jne 0x1800b7404
mov rcx, rbx
call fcn.1800b6750
cmp qword [0x1802842c0], 0xffffffffffffffff
je 0x1800b7404
cmp dword [0x1802842c8], 0xffffffff
je 0x1800b7404
mov edx, dword [rax]
lea rcx, [rsp + 0x90]
call fcn.18014f360
mov rbx, rax
mov edx, dword [0x1802842c8]
lea rcx, [rsp + 0x70]
call fcn.18014f360
nop
mov r8d, 8
lea rdx, str.:Health:
mov rcx, rax
call fcn.1800b90f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov r9, rbx
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800bc760
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800b74f6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b74f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b754d
call fcn.1801d1c00
nop
lea rcx, [rsp + 0x70]
call fcn.1800a3670
nop
lea rcx, [rsp + 0x90]
call fcn.1800a3670
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0xc0]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [0x1802842c0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rsp + 0x30]
call fcn.1800a3670
jmp 0x1800b7404
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3

Function at 0x1800b7a90
Capabilities:
Enumerate gui resources
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
cmp qword [0x18028d060], 0
jne 0x1800b7aca
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
lea rcx, [0x1801cd960]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x30]
mov qword [0x18028d060], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [0x18028d060]
jne 0x1800b7ae9
mov ecx, 0x7a
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x1800b7af9
cmp byte [0x18028c800], 0
jne 0x1800b7af9
xor al, al
add rsp, 0x28
ret
mov al, 1
add rsp, 0x28
ret
Function at 0x1800ca020
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800ca060
xor eax, eax
lea r8, [0x1800c9f90]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800ca09a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
test edx, edx
jne 0x1800ca09a
cmp byte [0x18028c2a6], dl
je 0x1800ca08d
nop dword [rax]
cmp byte [0x18028c2a5], 0
jne 0x1800ca08d
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x18028c2a6], 0
jne 0x1800ca070
mov rcx, qword [0x18028c5c0]
call qword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov eax, 1
add rsp, 0x38
ret

Function at 0x1800ca2d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c828], edx
jle 0x1800ca3b1
lea rcx, [0x18028c828]
call fcn.1801d1cb0
cmp dword [0x18028c828], 0xffffffff
jne 0x1800ca3b1
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ca39e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ca342
mov rdx, r11
test rax, rax
je 0x1800ca380
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800ca360
cmp r9d, 0x9dc483b8
je 0x1800ca38b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ca331
jmp 0x1800ca39e
lea r8, str.m_iTeamNum
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c834], r11d
lea rcx, [0x18028c828]
call fcn.1801d1c44
movsxd rax, dword [0x18028c834]
add rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1800ca3e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c844], edx
jle 0x1800ca4c1
lea rcx, [0x18028c844]
call fcn.1801d1cb0
cmp dword [0x18028c844], 0xffffffff
jne 0x1800ca4c1
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ca4ae
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ca452
mov rdx, r11
test rax, rax
je 0x1800ca490
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800ca470
cmp r9d, 0x7c5cc931
je 0x1800ca49b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ca441
jmp 0x1800ca4ae
lea r8, str.m_nPlayerCond
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c824], r11d
lea rcx, [0x18028c844]
call fcn.1801d1c44
movsxd rax, dword [0x18028c824]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800ca4e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c838], edx
jle 0x1800ca5c1
lea rcx, [0x18028c838]
call fcn.1801d1cb0
cmp dword [0x18028c838], 0xffffffff
jne 0x1800ca5c1
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ca5ae
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ca552
mov rdx, r11
test rax, rax
je 0x1800ca590
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800ca570
cmp r9d, 0x7c5cc931
je 0x1800ca59b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ca541
jmp 0x1800ca5ae
lea r8, str.m_bFeignDeathReady
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c840], r11d
lea rcx, [0x18028c838]
call fcn.1801d1c44
movsxd rax, dword [0x18028c840]
add rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1800ca5e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18028ab2c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18028c830], edx
jle 0x1800ca6c1
lea rcx, [0x18028c830]
call fcn.1801d1cb0
cmp dword [0x18028c830], 0xffffffff
jne 0x1800ca6c1
mov rcx, qword [0x18028c720]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ca6ae
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ca652
mov rdx, r11
test rax, rax
je 0x1800ca690
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800ca670
cmp r9d, 0x7c5cc931
je 0x1800ca69b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ca641
jmp 0x1800ca6ae
lea r8, str.m_nPlayerCondEx2
mov rdx, qword [r10 + 0x18]
call fcn.1801d1920
mov r11d, eax
mov dword [0x18028c810], r11d
lea rcx, [0x18028c830]
call fcn.1801d1c44
movsxd rax, dword [0x18028c810]
add rax, rbx
add rsp, 0x20
pop rbx
ret