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

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18008ca40]
add rcx, 0x40
call fcn.180002a50
mov rcx, qword [0x18008ca40]
lea rbx, str.EXTRASUNNY
movabs rdx, 0x29b487c359e19889
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rbx
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
call fcn.180002ad0
mov rcx, qword [0x18008ca40]
add rcx, 0x40
call fcn.180002a50
mov rcx, qword [0x18008ca40]
movabs rdx, 0xed712ca327900c8a
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rbx
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
add rsp, 0x20
pop rbx
jmp fcn.180002ad0

Function at 0x18004d340
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x18008ca40]
add rcx, 0x40
call fcn.180002a50
mov rcx, qword [0x18008ca40]
lea rbx, str.CLEAR
movabs rdx, 0x29b487c359e19889
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rbx
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
call fcn.180002ad0
mov rcx, qword [0x18008ca40]
add rcx, 0x40
call fcn.180002a50
mov rcx, qword [0x18008ca40]
movabs rdx, 0xed712ca327900c8a
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rbx
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
add rsp, 0x20
pop rbx
jmp fcn.180002ad0
Function at 0x18004e940
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
sub rsp, 0x20
mov rcx, qword [0x18008ca40]
mov rbx, rdx
add rcx, 0x40
call fcn.180002a50
mov r8, qword [0x18008ca40]
lea rdx, str.HUD_FRONTEND_DEFAULT_SOUNDSET
xor r9d, r9d
mov qword [rsp + 0x40], r9
mov dword [rsp + 0x40], 0xffffffff
mov ecx, dword [r8 + 0x48]
mov rax, qword [rsp + 0x40]
mov qword [r8 + rcx*8 + 0x170], rax
inc dword [r8 + 0x48]
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rbx
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rdx
movabs rdx, 0x67c540aa08e4a6f5
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], r9
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
add rsp, 0x20
pop rbx
jmp fcn.180002ad0
Function at 0x18004e9f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rbx, rcx
movaps xmmword [rsp + 0x30], xmm6
mov rcx, qword [0x18008ca40]
movaps xmm6, xmm2
movaps xmmword [rsp + 0x20], xmm7
add rcx, 0x40
movaps xmm7, xmm3
mov rdi, rdx
call fcn.180002a50
mov r8, qword [0x18008ca40]
movss xmm0, dword [rsp + 0x70]
mov eax, dword [r8 + 0x48]
mov qword [r8 + rax*8 + 0x170], rbx
inc dword [r8 + 0x48]
xor r8d, r8d
mov rcx, qword [0x18008ca40]
mov qword [rsp + 0x50], r8
movss dword [rsp + 0x50], xmm6
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], rdi
inc dword [rcx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
movss dword [rsp + 0x50], xmm7
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
movss dword [rsp + 0x50], xmm0
mov ecx, dword [rdx + 0x48]
movss xmm0, dword [rsp + 0x78]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
movss dword [rsp + 0x50], xmm0
mov ecx, dword [rdx + 0x48]
movss xmm0, dword [rsp + 0x80]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
movss dword [rsp + 0x50], xmm0
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], r8
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdx + 0x48]
mov qword [rsp + 0x50], r8
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdx + 0x48]
mov qword [rsp + 0x50], r8
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov ecx, dword [rdx + 0x48]
mov eax, dword [rsp + 0xa0]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
movabs rdx, 0xe7ffae5ebf23d890
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], r8
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], r8
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
mov rbx, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x20]
add rsp, 0x40
pop rdi
jmp fcn.180002ad0
Function at 0x18004ef50
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov dword [rcx + 0x11c], 0
mov rdi, rcx
mov word [rcx + 0x120], 0
mov byte [rcx + 0x122], 0
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004ef9e
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004ef9e
mov al, 1
jmp 0x18004efa0
xor al, al
mov byte [rdi + 0x11c], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004efcd
mov ecx, 8
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004efcd
mov al, 1
jmp 0x18004efcf
xor al, al
mov byte [rdi + 0x11d], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004effc
mov ecx, 0xd
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004effc
mov al, 1
jmp 0x18004effe
xor al, al
mov byte [rdi + 0x11e], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004f02b
mov ecx, 0x26
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004f02b
mov al, 1
jmp 0x18004f02d
xor al, al
mov byte [rdi + 0x11f], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004f05a
mov ecx, 0x28
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004f05a
mov al, 1
jmp 0x18004f05c
xor al, al
mov byte [rdi + 0x120], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004f089
mov ecx, 0x25
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004f089
mov al, 1
jmp 0x18004f08b
xor al, al
mov byte [rdi + 0x121], al
mov rbx, qword [0x18008ca08]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x18004f0c6
mov ecx, 0x27
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x18004f0c6
mov byte [rdi + 0x122], 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0x122], 0
add rsp, 0x20
pop rdi
ret
Function at 0x180050280
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rcx, qword [0x18008ca40]
movaps xmmword [rsp + 0x40], xmm6
add rcx, 0x40
movaps xmmword [rsp + 0x30], xmm7
movaps xmm6, xmm1
movaps xmmword [rsp + 0x20], xmm8
movaps xmm7, xmm2
movaps xmm8, xmm3
call fcn.180002a50
mov rdx, qword [0x18008ca40]
xor r8d, r8d
movss xmm0, dword [rsp + 0x80]
mov qword [rsp + 0x60], r8
movss dword [rsp + 0x60], xmm6
mov ecx, dword [rdx + 0x48]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r8
movss dword [rsp + 0x60], xmm7
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r8
movss dword [rsp + 0x60], xmm8
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r8
movss dword [rsp + 0x60], xmm0
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x60], r8
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
movzx eax, byte [rsp + 0x88]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rdx + 0x48]
mov qword [rsp + 0x60], r8
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
movzx eax, byte [rsp + 0x89]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rdx + 0x48]
mov qword [rsp + 0x60], r8
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
movzx eax, byte [rsp + 0x8a]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rdx + 0x48]
mov qword [rsp + 0x60], r8
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
mov rdx, qword [0x18008ca40]
movzx eax, byte [rsp + 0x8b]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rdx + 0x48]
mov qword [rdx + rcx*8 + 0x170], rax
inc dword [rdx + 0x48]
movabs rdx, 0x3a618a217e5154f0
mov rcx, qword [0x18008ca40]
mov eax, dword [rcx + 0x48]
mov qword [rcx + rax*8 + 0x170], r8
inc dword [rcx + 0x48]
mov rcx, qword [0x18008ca40]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x20]
add rsp, 0x58
jmp fcn.180002ad0
Function at 0x1800510dc
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180051160
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180058920]
cmp byte [rcx + rax], 0
je 0x180051160
dec r8
sub rdx, 1
jne 0x180051146
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x180052fe0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180073010]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x18005316e
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180053163
mov eax, dword [rsp + 0x30]
cmp rax, 0x10
jb 0x180053144
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x180053144
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x180053144
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800530b1
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x180096c48]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800530af
jmp 0x180053163
jmp 0x18005311b
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x18005311b
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180096c48]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800530fc
jmp 0x180053163
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180053034
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800511d0
add rsp, 0x68
ret
Function at 0x180053190
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.180052fe0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x180053252
mov dword [rsp + 0x20], 0
jmp 0x1800531ef
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x180053252
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180053250
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.180052e30
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800531e5
add rsp, 0x38
ret

Function at 0x180053260
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800532ef
mov dword [rsp + 0x20], 0
jmp 0x180053288
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800532d8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800532d6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18005327e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x180096c48]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x180053300
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x180096e60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005336a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180053393
mov eax, 0xa
jmp 0x1800534c4
cmp dword [rsp + 0x68], 0
je 0x1800533fe
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800533fc
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x18005344a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x18005342e
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x18005344a
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret
Function at 0x180053cc0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x180053d21
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x180053d21
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x180053d49
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x180096e50]
mov qword [rsp + 0x20], rax
jmp 0x180053d74
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180053dae
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x180053d94
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x180053d96
jmp 0x180053d67
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x180053dac
mov rax, qword [rsp + 0x20]
jmp 0x180053f20
jmp 0x180053d67
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x180053e17
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.180053ac0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180053dea
jmp 0x180053e17
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180053e15
jmp 0x180053e17
jmp 0x180053dbb
cmp qword [rsp + 0x20], 0
jne 0x180053e88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x180053e88
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.180053ba0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x180053e5b
jmp 0x180053e88
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180053e86
jmp 0x180053e88
jmp 0x180053e2c
cmp qword [rsp + 0x20], 0
je 0x180053f1b
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x180053ebb
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x180096e50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x180096e50], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800546c0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180054719
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180054719
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180054719
xor eax, eax
jmp 0x180054760
mov dword [rsp], 1
jmp 0x18005472a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x18005475b
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180054759
xor eax, eax
jmp 0x180054760
jmp 0x180054722
mov eax, 1
add rsp, 0x18
ret