joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801c2990
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 0x1801c29f1
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x1801c29f1
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 0x1801c2a19
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 [0x180378390]
mov qword [rsp + 0x20], rax
jmp 0x1801c2a44
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1801c2a7e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1801c2a64
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1801c2a66
jmp 0x1801c2a37
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1801c2a7c
mov rax, qword [rsp + 0x20]
jmp 0x1801c2bf0
jmp 0x1801c2a37
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x1801c2ae7
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1801c27b0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1801c2aba
jmp 0x1801c2ae7
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 0x1801c2ae5
jmp 0x1801c2ae7
jmp 0x1801c2a8b
cmp qword [rsp + 0x20], 0
jne 0x1801c2b58
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x1801c2b58
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1801c2880
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1801c2b2b
jmp 0x1801c2b58
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 0x1801c2b56
jmp 0x1801c2b58
jmp 0x1801c2afc
cmp qword [rsp + 0x20], 0
je 0x1801c2beb
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 0x1801c2b8b
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x180378390]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x180378390], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1801c41e0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1801c4362
mov dword [rsp + 0x30], Ordinal_33
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1801c4357
mov eax, dword [rsp + 0x30]
cmp rax, 0x10
jb 0x1801c4337
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1801c4337
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x1801c4337
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x1801c42a4
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1803783a8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x1801c42a2
jmp 0x1801c4357
jmp 0x1801c430e
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x1801c430e
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x60]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1803783a8]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1801c42ef
jmp 0x1801c4357
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x30], Ordinal_33
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1801c4227
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x58
ret
Function at 0x1801c4370
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.1801c41e0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1801c4432
mov dword [rsp + 0x20], 0
jmp 0x1801c43cf
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 0x1801c4432
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 0x1801c4430
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.1801c4050
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1801c43c5
add rsp, 0x38
ret

Function at 0x1801c4440
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1801c44cf
mov dword [rsp + 0x20], 0
jmp 0x1801c4468
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 0x1801c44b8
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 0x1801c44b6
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 0x1801c445e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1803783a8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x1801c44e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0x58
mov eax, dword [rsp + 0x70]
imul rax, rax, 0x38
mov rcx, qword [0x180378398]
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 0x1801c454c
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 0x1801c4575
mov eax, 0xa
jmp 0x1801c4698
cmp dword [rsp + 0x78], 0
je 0x1801c45e0
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 0x1801c45de
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 0x1801c461e
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1801c4609
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
lea rsi, [rax + 0x18]
mov ecx, 7
rep movsb byte [rdi], byte [rsi]
jmp 0x1801c461e
mov rax, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
lea rsi, [rax + 0x18]
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
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 + 0x78]
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 + 0x78]
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
pop rdi
pop rsi
ret
Function at 0x1801c4c00
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 0x1801c4c59
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1801c4c59
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1801c4c59
xor eax, eax
jmp 0x1801c4ca0
mov dword [rsp], 1
jmp 0x1801c4c6a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1801c4c9b
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 0x1801c4c99
xor eax, eax
jmp 0x1801c4ca0
jmp 0x1801c4c62
mov eax, 1
add rsp, 0x18
ret
Function at 0x1801cacd0
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.1801caef0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x1801cadd7
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1801cad34
mov rax, qword [0x1802f4008]
cmp qword [rsp + 0x20], rax
ja 0x1801cad34
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801cacf6
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1801cad63
jmp 0x1801cadd7
cmp dword [rsp + 0x50], 0x10000
jne 0x1801cadba
cmp qword [rsp + 0x48], 0x10000
jb 0x1801cadba
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 0x1801cada8
mov rax, qword [rsp + 0x28]
jmp 0x1801cadd9
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801cadd2
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1801caef0
mov qword [rsp + 0x20], rax
jmp 0x1801cacf6
xor eax, eax
add rsp, 0x68
ret

Function at 0x1801cade0
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.1801caf30
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1801caee3
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x1801cae3b
mov rax, qword [0x1802f4008]
cmp qword [rsp + 0x20], rax
ja 0x1801cae3b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x1801cadfd
mov r8d, Ordinal_50
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, Ordinal_50
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x1801cae6a
jmp 0x1801caee3
cmp dword [rsp + 0x50], 0x10000
jne 0x1801caec1
cmp qword [rsp + 0x48], 0x10000
jb 0x1801caec1
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 0x1801caeaf
mov rax, qword [rsp + 0x28]
jmp 0x1801caee5
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801caede
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1801caf30
mov qword [rsp + 0x20], rax
jmp 0x1801cadfd
xor eax, eax
add rsp, 0x68
ret
Function at 0x1801caf80
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.1801cb510
mov qword [rsp + 0x28], 0
cmp qword [0x180377688], 0
jne 0x1801cafc8
cmp qword [0x180377680], 0
je 0x1801cafc8
mov rax, qword [0x180377680]
mov qword [0x180377688], rax
cmp qword [0x180377688], 0
je 0x1801cb06e
mov rax, qword [0x180377688]
cmp qword [rax + 0x10], 0
je 0x1801cb06e
mov rax, qword [0x180377688]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1801cb06e
mov rax, qword [0x180377688]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1801cb06e
mov rax, qword [0x180377688]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1801cb034
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1801cb03b
xor eax, eax
jmp 0x1801cb1e9
mov rax, qword [0x180377688]
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 0x1801cb1e9
mov rax, qword [0x180377680]
mov qword [0x180377688], rax
jmp 0x1801cb090
mov rax, qword [0x180377688]
mov rax, qword [rax + 8]
mov qword [0x180377688], rax
cmp qword [0x180377688], 0
je 0x1801cb0dd
cmp qword [0x180377688], 0
je 0x1801cb0db
mov rax, qword [0x180377688]
cmp qword [rax + 0x10], 0
je 0x1801cb0db
mov rax, qword [0x180377688]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1801cb0db
mov rax, qword [0x180377688]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1801cb0db
jmp 0x1801cb00c
jmp 0x1801cb07e
mov rcx, qword [rsp + 0x60]
call fcn.1801cd140
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.1801cb1f0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801cb1e7
mov rax, qword [rsp + 0x48]
mov qword [0x180377688], rax
mov rax, qword [0x180377688]
mov dword [rax], 0x52727464
mov rax, qword [0x180377688]
mov qword [rax + 0x10], 0
mov rax, qword [0x180377688]
mov rcx, qword [0x180377680]
mov qword [rax + 8], rcx
mov rax, qword [0x180377688]
mov qword [0x180377680], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180377688]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x1801cb198
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1801cb1d2
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 0x1801cb18e
mov rax, qword [0x180377688]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1801cb00c
xor eax, eax
add rsp, 0x58
ret
Function at 0x1801e0380
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1801cf010
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1801e03d6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1801e042d
mov ebp, 0x4b0000
jmp 0x1801e043b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1801d15f0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1801e0451
mov eax, r12d
jmp 0x1801e045a
mov edx, edi
mov ecx, ebp
call fcn.1801d15f0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1801e0476
shl esi, 0x10
mov ecx, esi
jmp 0x1801e0565
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1801e04d4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1801cf010
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1801e04c4
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1801d14c0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1801cf010
add ebx, eax
jmp 0x1801e056e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1801e04e1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1801e0520
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1801cf010
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1801e0525
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1801d14c0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1801cf010
add ebx, eax
jmp 0x1801e056e
cmp eax, r12d
jge 0x1801e055e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1801cf010
sub ebp, eax
sub r15d, esi
je 0x1801e055e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1801d14c0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1801cf010
add ebx, eax
jmp 0x1801e056e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1801cf010
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1801cf010
Function at 0x18022c5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x1802f40c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x18022c75c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x18022c75c
cmp r10d, r14d
jne 0x18022c660
sub rbx, 0x10
jmp 0x18022c7a4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x18022c6d2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x18022c694
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x18022c69c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x18022c6bb
movzx edx, r11b
mov rcx, rsi
call fcn.18022d770
test al, al
jne 0x18022c7b5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.18022dde0
test al, al
jne 0x18022c7b5
mov edx, dword [rsi + 0x64]
lea r9, [0x18022e140]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x18022c6fe
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.18022c440
jmp 0x18022c752
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.18022c440
test dil, dil
je 0x18022c74a
cmp byte [rsi + 0x6a], 0
jne 0x18022c74a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x18022c7b5
sub rbx, 0x10
jmp 0x18022c7a4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x18022c7b9
mov ebp, dword [rbx]
jmp 0x18022c620
mov al, 1
jmp 0x18022c7c2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180299b50
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret