joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180011b30
Capabilities:
Hash data using sha256

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x18009a078]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor eax, eax
mov dword [rsp + 0x20], 0x6a09e667
mov rbx, rcx
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], rax
lea r8, [r8*8]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x24], 0xbb67ae85
mov dword [rsp + 0x28], 0x3c6ef372
mov dword [rsp + 0x2c], 0xa54ff53a
mov dword [rsp + 0x30], 0x510e527f
mov dword [rsp + 0x34], 0x9b05688c
mov dword [rsp + 0x38], 0x1f83d9ab
mov qword [rsp + 0x3c], 0x5be0cd19
call fcn.180011bf0
mov r9b, 1
lea rcx, [rsp + 0x20]
mov r8b, 0x81
mov rdx, rbx
call fcn.1800118d0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180041a40
add rsp, 0xb0
pop rbx
ret

Function at 0x18002ce90
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x48
test ecx, ecx
jle 0x18002cf74
mov qword [rsp + 0x40], rbx
movsxd rbx, ecx
cmp ecx, 0x64
jle 0x18002cf04
imul rax, rbx, 0xfffffffffffffff6
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
xor r9d, r9d
lea rdx, [rsp + 0x58]
mov rbx, rax
xor r8d, r8d
xor eax, eax
mov rcx, rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
lea rcx, [rsp + 0x68]
movaps xmmword [rsp + 0x30], xmm6
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movss xmm6, dword [0x1800735bc]
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x58]
xorps xmm1, xmm1
sub rax, qword [rsp + 0x60]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x68]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
mulss xmm1, xmm6
mulss xmm1, xmm6
cvttss2si rax, xmm1
cmp rax, rbx
jl 0x18002cf27
movaps xmm6, xmmword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x18004df80
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18004dfb7
call fcn.1800541e0
mov dword [rax], 0x16
call fcn.18004a3a4
xor eax, eax
jmp 0x18004e045
mov rdx, r9
mov rcx, r8
call fcn.18004df1c
mov rbx, rax
test rax, rax
je 0x18004e042
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x18004de48]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18004e02f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180054154
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18004e016
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18004e025
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180058c88
jmp 0x18004e042
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18004e03f
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004e340
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x18004e1f3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x18004e1f3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x18004e1f3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x18004e1f3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x18004e1f3
cmp dword [rcx + 0x84], 0xe
jbe 0x18004e1f3
cmp dword [rcx + 0xf8], 0
je 0x18004e1f3
mov ecx, ebx
call fcn.18004e2a4
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.18004e080
nop
cmp dword [rbp + 0x20], 0
je 0x18004e241
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.18004e24c
int3
xor r8d, r8d
xor edx, edx
jmp 0x18004e184
Function at 0x18005dc04
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18005dc1a
mov al, 1
jmp 0x18005dc7a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18005dc2b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18005dc78
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800514e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18005dc78
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18005dc78
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18005dc78
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18005dc7a
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18005f7ec
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18005f81c
xor eax, eax
jmp 0x18005f8df
mov rbp, rbx
cmp word [rax], si
je 0x18005f841
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18005f828
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18005f824
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18005f70c
movsxd r14, eax
test eax, eax
jne 0x18005f87f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18005f815
mov rcx, r14
call fcn.180059a74
mov rdi, rax
test rax, rax
jne 0x18005f898
xor ecx, ecx
call fcn.180058c88
jmp 0x18005f874
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18005f70c
test eax, eax
jne 0x18005f8c9
mov rcx, rdi
call fcn.180058c88
jmp 0x18005f8d3
xor ecx, ecx
call fcn.180058c88
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
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 0x180063674
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180057030
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x180063715
cmp ebx, dword [rsp + 0x30]
je 0x18006370e
test esi, esi
je 0x18006370e
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800636e9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800636f6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800636d3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800636fa
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x180063717
mov eax, 1
jmp 0x180063717
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180001a54
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, 0xe0000000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x180001a67
mov eax, 0x40
ret
mov edx, 0x60000000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x180001a7a
mov eax, 0x20
ret
mov edx, 0xa0000000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x180001a8d
mov eax, 0x80
ret
mov edx, 0xc0000000
mov eax, ecx
and eax, edx
cmp eax, edx
jne 0x180001aa0
mov eax, 4
ret
bt ecx, 0x1d
jae 0x180001aac
mov eax, 0x10
ret
bt ecx, 0x1e
jae 0x180001ab8
mov eax, 2
ret
mov eax, 1
test ecx, ecx
lea edx, [rax + 7]
cmovs eax, edx
ret

Function at 0x180003620
Capabilities:
Create thread

Disassembly:
sub rsp, 0x248
cmp edx, 1
jne 0x1800036a7
mov r8d, 0x104
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [0x180016100]
test eax, eax
js 0x1800036a3
lea rcx, [rsp + 0x30]
call qword [0x180016338]
mov rcx, rax
call fcn.180003c74
test eax, eax
jne 0x1800036a3
call fcn.180003bc0
test eax, eax
je 0x1800036a3
cmp dword [0x180022d20], 0
jne 0x1800036b0
and qword [rsp + 0x28], 0
lea r8, [0x180001ac8]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
mov dword [0x180022d20], 1
xor ecx, ecx
call qword [0x1800160e0]
mov qword [0x180022cb0], rax
call fcn.180001d40
jmp 0x1800036b0
xor eax, eax
jmp 0x1800036b5
test edx, edx
jne 0x1800036b0
call fcn.180003b0c
mov eax, 1
add rsp, 0x248
ret
Function at 0x180003a18
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rax, qword gs:[0x60]
mov edi, edx
mov ebx, ecx
xor esi, esi
mov r8, qword [rax + 0x18]
mov r11, qword [r8 + 0x20]
mov r8, r11
mov r10, qword [r8 + 0x50]
mov r9d, esi
test r10, r10
je 0x180003a77
cmp si, word [r8 + 0x48]
jae 0x180003a77
movzx edx, word [r8 + 0x48]
movsx ecx, byte [r10]
ror r9d, 0xd
cmp byte [r10], 0x61
lea eax, [rcx - 0x20]
cmovge ecx, eax
inc r10
add r9d, ecx
sub rdx, 1
jne 0x180003a59
cmp r9d, ebx
je 0x180003a96
mov r8, qword [r8]
cmp r8, r11
jne 0x180003a41
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov r9, qword [r8 + 0x20]
mov ebx, esi
movsxd rax, dword [r9 + 0x3c]
mov r8d, dword [rax + r9 + 0x88]
add r8, r9
mov edx, dword [r8 + 0x20]
mov ecx, dword [r8 + 0x24]
add rdx, r9
add rcx, r9
cmp dword [r8 + 0x18], esi
jbe 0x180003a84
mov r10d, dword [rdx]
mov r11d, esi
add r10, r9
jmp 0x180003ad7
ror r11d, 0xd
movsx eax, al
add r11d, eax
inc r10
mov al, byte [r10]
test al, al
jne 0x180003aca
cmp r11d, edi
je 0x180003af5
inc ebx
add rdx, 4
add rcx, 2
cmp ebx, dword [r8 + 0x18]
jb 0x180003abf
jmp 0x180003a84
movzx edx, word [rcx]
mov ecx, dword [r8 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
add rax, r9
jmp 0x180003a86

Function at 0x180003bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
xor ecx, ecx
xor edi, edi
call qword [0x1800160b8]
mov rbx, rax
test rax, rax
je 0x180003c65
movzx eax, word [rax + 0x40]
mov ecx, 0x7268
sub ax, cx
cmp ax, 0xf
ja 0x180003bfc
mov ecx, 0x8801
bt ecx, eax
jb 0x180003c65
call qword [0x180016048]
mov r9d, 4
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [0x180016098]
test eax, eax
je 0x180003c65
lea rax, [0x180003bb8]
mov word [rbx + 0x40], 0x7277
mov qword [rbx + 0x42], rax
call qword [0x180016048]
mov r9d, dword [rsp + 0x40]
mov r8d, 0x200
mov rcx, rax
mov rdx, rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
call qword [0x180016098]
mov edi, 1
mov rbx, qword [rsp + 0x48]
mov eax, edi
add rsp, 0x30
pop rdi
ret
Function at 0x180003e10
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.180004060
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180003f2a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003e74
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003e74
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003e36
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180009090
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.180007931
test rax, rax
jne 0x180003ea5
jmp 0x180003f2a
cmp dword [rsp + 0x50], 0x10000
jne 0x180003f0d
cmp qword [rsp + 0x48], 0x10000
jb 0x180003f0d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call fcn.1800078f5
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180003eeb
mov rax, qword [rsp + 0x28]
jmp 0x180003f2c
call fcn.180007901
cmp eax, 0x677
jne 0x180003efb
xor eax, eax
jmp 0x180003f2c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180003f25
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.180004060
mov qword [rsp + 0x20], rax
jmp 0x180003e36
xor eax, eax
add rsp, 0x68
ret

Function at 0x180003f40
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.1800040a0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x180004056
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180003f9b
mov rax, qword [0x180021008]
cmp qword [rsp + 0x20], rax
ja 0x180003f9b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180003f5d
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180009090
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call fcn.180007931
test rax, rax
jne 0x180003fcc
jmp 0x180004056
cmp dword [rsp + 0x50], 0x10000
jne 0x180004034
cmp qword [rsp + 0x48], 0x10000
jb 0x180004034
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call fcn.1800078f5
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180004012
mov rax, qword [rsp + 0x28]
jmp 0x180004058
call fcn.180007901
cmp eax, 0x677
jne 0x180004022
xor eax, eax
jmp 0x180004058
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180004051
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1800040a0
mov qword [rsp + 0x20], rax
jmp 0x180003f5d
xor eax, eax
add rsp, 0x68
ret
Function at 0x1800040f0
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.180004680
mov qword [rsp + 0x28], 0
cmp qword [0x180021ac8], 0
jne 0x180004138
cmp qword [0x180021ac0], 0
je 0x180004138
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x1800041de
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x1800041de
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1800041de
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1800041de
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800041a4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800041ab
xor eax, eax
jmp 0x180004359
mov rax, qword [0x180021ac8]
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 fcn.180009090
mov rax, qword [rsp + 0x28]
jmp 0x180004359
mov rax, qword [0x180021ac0]
mov qword [0x180021ac8], rax
jmp 0x180004200
mov rax, qword [0x180021ac8]
mov rax, qword [rax + 8]
mov qword [0x180021ac8], rax
cmp qword [0x180021ac8], 0
je 0x18000424d
cmp qword [0x180021ac8], 0
je 0x18000424b
mov rax, qword [0x180021ac8]
cmp qword [rax + 0x10], 0
je 0x18000424b
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000424b
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000424b
jmp 0x18000417c
jmp 0x1800041ee
mov rcx, qword [rsp + 0x60]
call fcn.1800064f0
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.180004360
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x180004357
mov rax, qword [rsp + 0x48]
mov qword [0x180021ac8], rax
mov rax, qword [0x180021ac8]
mov dword [rax], 0x52727464
mov rax, qword [0x180021ac8]
mov qword [rax + 0x10], 0
mov rax, qword [0x180021ac8]
mov rcx, qword [0x180021ac0]
mov qword [rax + 8], rcx
mov rax, qword [0x180021ac8]
mov qword [0x180021ac0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x180021ac8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180004308
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180004342
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 0x1800042fe
mov rax, qword [0x180021ac8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x18000417c
xor eax, eax
add rsp, 0x58
ret
Function at 0x180005070
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
call fcn.180007931
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1800050b7
xor al, al
jmp 0x180005159
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x1800050e1
xor al, al
jmp 0x180005159
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x180005151
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, 8
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
mov ecx, dword [rdx + rcx + 0x8c]
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x180005151
mov al, 1
jmp 0x180005159
jmp 0x180005157
xor al, al
add rsp, 0x78
ret

Function at 0x180005460
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x180021ac0]
mov qword [rsp + 0x28], rax
jmp 0x180005480
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 8]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800054af
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x28]
call fcn.1800078e9
test eax, eax
jne 0x1800054ad
call fcn.180007901
jmp 0x1800054b1
jmp 0x180005472
xor eax, eax
add rsp, 0x38
ret
Function at 0x180005b40
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov dword [rsp + 0x20], 0
call fcn.180007919
cmp dword [0x180021ad8], eax
je 0x180005b6d
mov eax, 0x10dd
jmp 0x180005d86
cmp dword [0x180021adc], 0
je 0x180005b81
mov eax, dword [0x180021adc]
jmp 0x180005d86
cmp qword [rsp + 0x78], 0
jne 0x180005b93
mov eax, 0x57
jmp 0x180005d86
cmp qword [rsp + 0x70], 0
jne 0x180005ba5
mov eax, 6
jmp 0x180005d86
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x180005bd7
mov dword [rsp + 0x20], 6
mov eax, dword [rsp + 0x20]
mov dword [0x180021adc], eax
mov rax, qword [rsp + 0x70]
mov qword [0x180021ae0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005d86
mov ecx, 0x30
call fcn.180007ca0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x180005c49
mov dword [rsp + 0x20], 8
mov eax, dword [rsp + 0x20]
mov dword [0x180021adc], eax
cmp qword [rsp + 0x30], 0
je 0x180005c34
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x50]
call fcn.180007cdc
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x70]
mov qword [0x180021ae0], rax
mov eax, dword [rsp + 0x20]
jmp 0x180005d86
xor edx, edx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax]
call fcn.180005b10
mov qword [rsp + 0x38], rax
xor edx, edx
mov rcx, qword [rsp + 0x78]
call fcn.180005b10
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax + 0x3e]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x24], 0
je 0x180005ca6
movsxd rax, dword [rsp + 0x24]
cmp rax, 0x1e
jbe 0x180005cc3
mov dword [rsp + 0x20], 9
cmp dword [0x180021ad0], 0
je 0x180005cbe
jmp 0x180005c0a
jmp 0x180005c00
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x78]
cmp qword [rax + 0x50], rcx
je 0x180005cf0
mov dword [rsp + 0x20], 9
cmp dword [0x180021ad0], 0
je 0x180005ceb
jmp 0x180005c0a
jmp 0x180005c00
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x24]
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1800078e9
test eax, eax
jne 0x180005d27
call fcn.180007901
mov dword [rsp + 0x20], eax
jmp 0x180005c00
mov rax, qword [rsp + 0x30]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x20], rcx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x28], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [0x180021af0]
mov qword [rax], rcx
mov rax, qword [rsp + 0x30]
mov qword [0x180021af0], rax
xor eax, eax
add rsp, 0x68
ret
Function at 0x180005d90
Capabilities:
Resume thread

Disassembly:
sub rsp, 0x68
call fcn.180007919
cmp dword [0x180021ad8], eax
je 0x180005dab
mov eax, 0x10dd
jmp 0x180005ed0
mov rax, qword [0x180021af0]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180005e55
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x3e]
lea r9, [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
call fcn.1800078e9
mov rax, qword [rsp + 0x28]
cmp dword [rax + 8], 0
jne 0x180005e20
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
je 0x180005e20
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.1800047c0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov edx, 0x30
mov rcx, qword [rsp + 0x38]
call fcn.180007cdc
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
jmp 0x180005db7
mov qword [0x180021af0], 0
call fcn.180005220
mov rax, qword [0x180021ae8]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180005eb9
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 8]
call fcn.1800078fb
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov edx, 0x10
mov rcx, qword [rsp + 0x48]
call fcn.180007cdc
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x180005e71
mov qword [0x180021ae8], 0
mov dword [0x180021ad8], 0
xor eax, eax
add rsp, 0x68
ret