Function at 0x18003b0c0
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r12, qword [rbp + 0x240]
lea rcx, str.Y3C.K
mov r13, qword [rbp + 0x248]
mov rdi, r9
mov r14, r8
mov rbx, rdx
nop
nop
nop
nop
nop
nop
xor r15d, r15d
mov dword [rbp - 0x40], 0x3f005c
xor edx, edx
mov qword [rsp + 0x60], r15
mov r8d, 0x200
mov dword [rbp - 0x3c], 0x5c003f
lea rcx, [rbp - 0x38]
call fcn.180060a90
xor eax, eax
mov word [rbp - 0x60], r15w
mov r8, rbx
mov qword [rbp - 0x5e], rax
mov edx, 0x104
mov dword [rbp - 0x56], eax
lea rcx, [rbp - 0x40]
mov word [rbp - 0x52], ax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], r15
call fcn.18006c69c
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.180027d40
xor eax, eax
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x48], r15
lea r9, [rbp - 0x50]
mov dword [rsp + 0x40], 0x60
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x80], rax
mov edx, 0x80100080
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x60]
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], r15
mov dword [rsp + 0x68], 0x30
mov dword [rbp - 0x80], 0x40
call fcn.180026b70
test eax, eax
js 0x18003b379
mov rcx, qword [rsp + 0x60]
cmp rcx, 0xffffffffffffffff
je 0x18003b379
xor edx, edx
call qword [0x18008c3d8]
mov ebx, eax
lea ecx, [rbx - 1]
cmp ecx, 0xc7fffff
ja 0x18003b36e
mov edx, ebx
mov qword [rsp + 0x320], rsi
xor ecx, ecx
lea r9d, [r15 + 4]
mov r8d, 0x1000
call qword [0x18008c3c0]
mov rcx, qword [rsp + 0x60]
mov rsi, rax
test rax, rax
je 0x18003b363
lea r9, [rbp - 0x68]
mov dword [rbp - 0x68], r15d
mov r8d, ebx
mov qword [rsp + 0x20], r15
mov rdx, rax
call qword [0x18008c198]
test eax, eax
je 0x18003b34d
cmp dword [rbp - 0x68], ebx
jne 0x18003b34d
mov rcx, qword [rsp + 0x60]
call qword [0x18008c0e0]
mov qword [r14], rsi
mov eax, 0x5a4d
mov dword [rdi], ebx
mov rcx, qword [r14]
cmp word [rcx], ax
jne 0x18003b296
movsxd rbx, dword [rcx + 0x3c]
add rbx, rsi
cmp dword [rbx], 0x4550
je 0x18003b2d0
xor edx, edx
mov r8d, 0x8000
call qword [0x18008c3b8]
xor al, al
mov rsi, qword [rsp + 0x320]
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
movzx edx, word [rbx + 6]
lea rcx, [rbx + 0x108]
mov r8d, dword [rbx + 0x2c]
mov eax, dword [rbx + 0x2c]
call fcn.18002a410
mov rdi, rax
test rax, rax
je 0x18003b30e
cmp dword [rax + 0x10], r15d
jne 0x18003b309
movzx edx, word [rbx + 6]
lea rcx, [rbx + 0x108]
mov r8d, dword [rbx + 0x28]
call fcn.18002a410
mov rdi, rax
test rdi, rdi
jne 0x18003b31b
mov rcx, qword [r14]
xor edx, edx
mov r8d, 0x8000
jmp 0x18003b29e
movzx edx, word [rbx + 6]
lea r8, [rbx + 0x108]
mov ecx, dword [rdi + 0xc]
call fcn.180028470
mov eax, eax
add rax, rsi
mov qword [r12], rax
mov eax, dword [rdi + 8]
mov ecx, dword [rdi + 0x10]
cmp eax, ecx
cmovb ecx, eax
mov al, 1
mov dword [r13], ecx
jmp 0x18003b2a6
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x18008c3b8]
mov rcx, qword [rsp + 0x60]
call qword [0x18008c0e0]
jmp 0x18003b2a4
mov rcx, qword [rsp + 0x60]
call qword [0x18008c0e0]
xor al, al
jmp 0x18003b2ae