Function at 0x18004d5c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x320], rax
lea rcx, [0x1800a23a8]
nop
nop
nop
nop
nop
nop
mov qword [rsp + 0xb0], 0
mov eax, 0x5c
mov word [rsp + 0x110], ax
mov eax, 0x3f
mov word [rsp + 0x112], ax
mov eax, 0x3f
mov word [rsp + 0x114], ax
mov eax, 0x5c
mov word [rsp + 0x116], ax
xor eax, eax
mov word [rsp + 0x118], ax
lea rax, [rsp + 0x11a]
mov rdi, rax
xor eax, eax
mov ecx, 0x1fe
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0xf0], ax
lea rax, [rsp + 0xf2]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
mov dword [rsp + 0x100], 0
lea rax, [rsp + 0x104]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
lea rax, [rsp + 0x108]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x348]
lea rcx, [rsp + 0x110]
call fcn.18001e5f0
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xf0]
call fcn.180027d40
lea rax, [rsp + 0xb8]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rsp + 0xb8], 0x30
lea rax, [rsp + 0xf0]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0xd0], 0x40
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x100]
lea r8, [rsp + 0xb8]
mov edx, 0x80100080
lea rcx, [rsp + 0xb0]
call fcn.180026b70
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0
jge 0x18004d782
xor al, al
jmp 0x18004dace
cmp qword [rsp + 0xb0], 0xffffffffffffffff
jne 0x18004d794
xor al, al
jmp 0x18004dace
xor edx, edx
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c3d8]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jbe 0x18004d7b9
cmp dword [rsp + 0x60], 0xc800000
jbe 0x18004d7ce
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c0e0]
xor al, al
jmp 0x18004dace
mov eax, dword [rsp + 0x60]
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
xor ecx, ecx
call qword [0x18008c3c0]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x18004d810
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c0e0]
xor al, al
jmp 0x18004dace
mov dword [rsp + 0xe8], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c198]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
je 0x18004d865
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0xe8], eax
je 0x18004d890
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x80]
call qword [0x18008c3b8]
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c0e0]
xor al, al
jmp 0x18004dace
mov rcx, qword [rsp + 0xb0]
call qword [0x18008c0e0]
mov rax, qword [rsp + 0x350]
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
mov rax, qword [rsp + 0x358]
mov ecx, dword [rsp + 0x60]
mov dword [rax], ecx
mov rax, qword [rsp + 0x350]
mov rax, qword [rax]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18004d903
mov rax, qword [rsp + 0x350]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x340]
call fcn.18004daf0
xor al, al
jmp 0x18004dace
mov rax, qword [rsp + 0xa8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
cmp dword [rax], 0x4550
je 0x18004d94e
mov rax, qword [rsp + 0x350]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x340]
call fcn.18004daf0
xor al, al
jmp 0x18004dace
mov qword [rsp + 0x90], 0
movzx eax, byte [rsp + 0x370]
test eax, eax
je 0x18004d97b
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov qword [rsp + 0x90], rax
jmp 0x18004d98e
mov rax, qword [rsp + 0x70]
add rax, 0xf8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0xa0], eax
mov byte [rsp + 0x78], 0
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov r8d, dword [rsp + 0xa0]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.18002a410
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18004d9ee
mov rax, qword [rsp + 0x350]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x340]
call fcn.18004daf0
xor al, al
jmp 0x18004dace
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x10], 0
jne 0x18004da1f
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov rcx, qword [rsp + 0x70]
mov r8d, dword [rcx + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.18002a410
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x18004da46
mov rax, qword [rsp + 0x350]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x340]
call fcn.18004daf0
xor al, al
jmp 0x18004dace
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov r8, qword [rsp + 0x90]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 0xc]
call fcn.180028470
mov eax, eax
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x360]
mov qword [rcx], rax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 8], ecx
jae 0x18004daa4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 8]
mov dword [rsp + 0x88], eax
jmp 0x18004dab3
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x368]
mov ecx, dword [rsp + 0x88]
mov dword [rax], ecx
mov al, 1
jmp 0x18004dace
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x330
pop rdi
ret