joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180037030
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x1800371c3
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x1800370a0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.18003a070
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180035080
mov dword [rbx + 0x80], 0
jmp 0x1800371af
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.18003a5b0
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180043620
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
call fcn.1800290e0
mov rcx, qword [0x18006a1f8]
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x28]
sub ecx, dword [rsp + 0x20]
movd xmm1, ecx
mov ecx, dword [rsp + 0x2c]
sub ecx, dword [rsp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x50]
xorps xmm1, xmm1
sub rax, qword [0x18006a200]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x18006a208]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x50]
mov qword [0x18006a200], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
call fcn.1800290e0
cmp byte [rax + 0x39b], 0
lea rbx, [rax + 0x128]
je 0x18004373e
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x40]
cvttss2si eax, dword [rax + 0x12c]
mov dword [rsp + 0x40], ecx
mov rcx, qword [0x18006a1f8]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x1800437af
mov rdx, qword [0x18006a1f8]
cmp rax, rdx
je 0x18004376f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1800437af
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1800437af
mov rcx, qword [0x18006a1f8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1800437af
movd xmm0, dword [rsp + 0x48]
movd xmm1, dword [rsp + 0x4c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x1800437bf
mov eax, 0xffffffff
jmp 0x1800437c4
call fcn.1800290f0
cmp dword [0x1800694d0], eax
je 0x1800437d7
mov dword [0x1800694d0], eax
call fcn.1800437f0
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x18004f7d0
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 0x18004f810
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x18006a210]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18004f84e
cmp rsi, r14
jb 0x18004f846
cmp rsi, r15
jae 0x18004f846
cmp qword [rsi + 8], 0
jne 0x18004fa17
mov rsi, qword [rsi]
test rsi, rsi
jne 0x18004f831
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 0x18004f8e2
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 0x18004f8d9
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 0x18004f8d9
cmp dword [rsp + 0x70], 0x10000
je 0x18004f95b
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x18004f8d9
sub rbx, rbp
cmp rbx, r14
jae 0x18004f8a0
test rsi, rsi
jne 0x18004f9c0
cmp rdi, r15
ja 0x18004f9ff
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 0x18004f9ff
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18004f9ff
cmp dword [rsp + 0x70], 0x10000
je 0x18004f991
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 0x18004f912
jmp 0x18004f9ff
test rbx, rbx
je 0x18004f8d9
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 0x18004f9c0
cmp rbx, r14
jae 0x18004f880
jmp 0x18004f8e2
test rdi, rdi
je 0x18004f9ff
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 0x18004f9c0
cmp rdi, r15
jbe 0x18004f8f0
jmp 0x18004f9ff
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 0x18004f9d0
mov rax, qword [0x18006a210]
mov qword [rsi], rax
mov qword [0x18006a210], 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 0x1800502e0
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 [0x18006a234]
mov ebx, edi
test ecx, ecx
je 0x18005041d
mov rax, qword [0x18006a228]
add rax, 0x20
nop
movzx edx, byte [rax]
shr edx, 1
and edx, 1
cmp edx, esi
jne 0x180050338
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x180050310
mov eax, edi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp ebx, 0xffffffff
je 0x18005041d
mov r8d, edi
lea rcx, [rsp + 0x20]
test esi, esi
mov edx, 0xffffffff
setne r8b
call fcn.180050660
mov r8d, dword [0x18006a234]
cmp ebx, r8d
jae 0x1800503a8
nop word [rax + rax]
mov eax, ebx
imul rcx, rax, 0x38
mov rax, qword [0x18006a228]
movzx edx, byte [rcx + rax + 0x20]
shr edx, 1
and edx, 1
cmp edx, esi
je 0x1800503a1
mov edx, esi
mov ecx, ebx
call fcn.180050550
mov edi, eax
test eax, eax
jne 0x1800503a8
mov r8d, dword [0x18006a234]
inc ebx
cmp ebx, r8d
jb 0x180050370
cmp qword [rsp + 0x20], 0
je 0x18005041d
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x180050409
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
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800503fa
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 0x1800503d0
mov rbp, qword [rsp + 0x40]
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18006a220]
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 0x180050550
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 [0x18006a228]
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 0x1800505b4
mov eax, 0xa
jmp 0x180050647
test esi, esi
je 0x1800505d6
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 0x1800505f9
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x1800505f9
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x1800505f2
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x1800505f9
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 0x180050660
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
xor esi, esi
mov r14d, edx
mov qword [rcx], rsi
mov rbx, rcx
mov qword [rcx + 8], rsi
xor edx, edx
mov ecx, 4
mov ebp, r8d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180050780
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180050777
cmp dword [rsp + 0x20], 0x10
jb 0x18005075a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x18005075a
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x18005075a
mov rdx, qword [rbx]
test rdx, rdx
jne 0x180050718
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x18006a220]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180050777
jmp 0x18005074d
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x18005074d
mov rcx, qword [0x18006a220]
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 0x180050777
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800506c2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x1800507d5
cmp dword [rbx + 0xc], esi
jbe 0x1800507d5
nop word [rax + rax]
mov r8, qword [rbx]
xor edx, edx
mov eax, esi
mov ecx, 0x5a
mov r8d, dword [r8 + rax*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x1800507ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.1800507f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180050790
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x180050980
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rdi, rcx
je 0x1800509f1
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x1800509da
mov qword [rsp + 0x38], rsi
mov r8, qword [rdi]
xor edx, edx
mov ecx, 0x5a
mov r8d, dword [r8 + rbx*4]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x1800509ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x1800509a0
mov rsi, qword [rsp + 0x38]
mov r8, qword [rdi]
xor edx, edx
mov rcx, qword [0x18006a220]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180051070
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movzx ebx, byte [rcx]
lea rdi, [rcx + 1]
mov rsi, rdx
mov r10d, 0x811c9dc5
mov rcx, rdi
movzx eax, bl
test bl, bl
je 0x1800510b9
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x1800510a0
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x10]
mov r9, r11
nop dword [rax]
mov rcx, qword [r9 + 0x60]
mov edx, 0x811c9dc5
movzx eax, word [r9 + 0x58]
shr rax, 1
lea r8, [rcx + rax*2]
cmp rcx, r8
je 0x180051104
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r8
jne 0x1800510f0
cmp edx, r10d
je 0x180051116
mov r9, qword [r9]
cmp r9, r11
jne 0x1800510d0
xor r11d, r11d
jmp 0x18005111a
mov r11, qword [r9 + 0x30]
mov r10d, 0x811c9dc5
test bl, bl
je 0x180051148
nop dword [rax]
nop dword [rax + rax]
movsx eax, bl
movzx ebx, byte [rdi]
lea rdi, [rdi + 1]
xor eax, r10d
imul r10d, eax, 0x1000193
test bl, bl
jne 0x180051130
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov r8, rbx
nop dword [rax]
mov rcx, qword [r8 + 0x60]
mov edx, 0x811c9dc5
movzx eax, word [r8 + 0x58]
shr rax, 1
lea r9, [rcx + rax*2]
cmp rcx, r9
je 0x180051194
nop word [rax + rax]
movsx eax, byte [rcx]
add rcx, 2
xor eax, edx
imul edx, eax, 0x1000193
cmp rcx, r9
jne 0x180051180
cmp edx, r10d
je 0x1800511a5
mov r8, qword [r8]
cmp r8, rbx
jne 0x180051160
xor eax, eax
jmp 0x1800511a9
mov eax, dword [r8 + 0x40]
lea rbx, [rax + r11]
xor r10d, r10d
mov r8, rsi
cmp r11, rbx
jae 0x180051267
mov edi, 0x3f3f
movzx r9d, byte [r8]
test r9b, r9b
je 0x180051279
cmp r9b, 0x3f
je 0x180051231
movzx eax, r9b
and al, 0xdf
sub al, 0x41
cmp al, 5
ja 0x1800511ec
movzx edx, r9b
and dl, 0xdf
sub dl, 0x37
jmp 0x1800511f9
xor edx, edx
lea ecx, [r9 - 0x30]
cmp cl, 9
cmovbe edx, r9d
movzx ecx, byte [r8 + 1]
movzx eax, cl
and al, 0xdf
sub al, 0x41
cmp al, 5
ja 0x180051211
and cl, 0xdf
sub cl, 0x37
jmp 0x18005121f
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x18005121d
sub cl, 0x30
jmp 0x18005121f
xor cl, cl
shl dl, 4
or dl, cl
cmp byte [r11], dl
je 0x180051231
mov r8, rsi
xor r10d, r10d
jmp 0x18005125b
test r10, r10
mov rax, r11
cmovne rax, r10
cmp byte [r8 + 2], 0
mov r10, rax
je 0x180051269
cmp word [r8], di
je 0x180051257
cmp r9b, 0x3f
jne 0x180051257
add r8, 2
jmp 0x18005125b
add r8, 3
inc r11
cmp r11, rbx
jb 0x1800511c1
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov rbx, qword [rsp + 8]
mov rax, r10
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
Function at 0x1800533c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1800535e0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1800534c7
mov rax, qword [0x180069788]
cmp qword [rsp + 0x20], rax
jb 0x180053424
mov rax, qword [0x180069790]
cmp qword [rsp + 0x20], rax
ja 0x180053424
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800533e6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x180053453
jmp 0x1800534c7
cmp dword [rsp + 0x50], 0x10000
jne 0x1800534aa
cmp qword [rsp + 0x48], 0x10000
jb 0x1800534aa
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180053498
mov rax, qword [rsp + 0x28]
jmp 0x1800534c9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800534c2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1800535e0
mov qword [rsp + 0x20], rax
jmp 0x1800533e6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1800534d0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180053620
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1800535d3
mov rax, qword [0x180069788]
cmp qword [rsp + 0x20], rax
jb 0x18005352b
mov rax, qword [0x180069790]
cmp qword [rsp + 0x20], rax
ja 0x18005352b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1800534ed
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x18005355a
jmp 0x1800535d3
cmp dword [rsp + 0x50], 0x10000
jne 0x1800535b1
cmp qword [rsp + 0x48], 0x10000
jb 0x1800535b1
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x18005359f
mov rax, qword [rsp + 0x28]
jmp 0x1800535d5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1800535ce
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180053620
mov qword [rsp + 0x20], rax
jmp 0x1800534ed
xor eax, eax
add rsp, 0x68
ret
Function at 0x180053670
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.180053c00
mov qword [rsp + 0x28], 0
cmp qword [0x18006a2c8], 0
jne 0x1800536b8
cmp qword [0x18006a2c0], 0
je 0x1800536b8
mov rax, qword [0x18006a2c0]
mov qword [0x18006a2c8], rax
cmp qword [0x18006a2c8], 0
je 0x18005375e
mov rax, qword [0x18006a2c8]
cmp qword [rax + 0x10], 0
je 0x18005375e
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18005375e
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18005375e
mov rax, qword [0x18006a2c8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180053724
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18005372b
xor eax, eax
jmp 0x1800538d9
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800538d9
mov rax, qword [0x18006a2c0]
mov qword [0x18006a2c8], rax
jmp 0x180053780
mov rax, qword [0x18006a2c8]
mov rax, qword [rax + 8]
mov qword [0x18006a2c8], rax
cmp qword [0x18006a2c8], 0
je 0x1800537cd
cmp qword [0x18006a2c8], 0
je 0x1800537cb
mov rax, qword [0x18006a2c8]
cmp qword [rax + 0x10], 0
je 0x1800537cb
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800537cb
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800537cb
jmp 0x1800536fc
jmp 0x18005376e
mov rcx, qword [rsp + 0x60]
call fcn.180055830
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800538e0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800538d7
mov rax, qword [rsp + 0x48]
mov qword [0x18006a2c8], rax
mov rax, qword [0x18006a2c8]
mov dword [rax], 0x52727464
mov rax, qword [0x18006a2c8]
mov qword [rax + 0x10], 0
mov rax, qword [0x18006a2c8]
mov rcx, qword [0x18006a2c0]
mov qword [rax + 8], rcx
mov rax, qword [0x18006a2c8]
mov qword [0x18006a2c0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18006a2c8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180053888
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1800538c2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18005387e
mov rax, qword [0x18006a2c8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800536fc
xor eax, eax
add rsp, 0x58
ret