Function at 0x180062ac0
Capabilities:
Parse pe header

Disassembly:
push r14
push r15
sub rsp, 0x58
mov r14, rcx
mov ecx, 0x170
call fcn.180068700
mov r15, rax
test r15, r15
je 0x180062b27
xor edx, edx
lea rcx, [r15 + 0x40]
call fcn.180062df0
xor r9d, r9d
mov rcx, r15
xor edx, edx
mov r8d, 0x40
mov dword [r15 + 0x160], r9d
mov dword [r15 + 0x164], r9d
mov qword [r15 + 0x168], 0
call fcn.180012b10
xor edx, edx
lea rcx, [r15 + 0x58]
mov r8d, 0x108
call fcn.180012b10
jmp 0x180062b2a
xor r15d, r15d
mov rcx, r14
xor edx, edx
call fcn.18002ff10
mov rcx, r15
mov rdx, rax
mov r8d, 0x40
call fcn.18006fcf0
movzx edx, word [r15]
cmp edx, 0x5a4d
je 0x180062b69
mov rcx, r15
mov edx, 1
call fcn.180058890
xor eax, eax
add rsp, 0x58
pop r15
pop r14
ret
mov rcx, r14
mov edx, 0x40
call fcn.18002ff10
mov r8d, dword [r15 + 0x3c]
lea rcx, [r15 + 0x40]
add r8d, 0xffffffc0
mov rdx, rax
call fcn.180033420
mov rcx, r14
mov edx, dword [r15 + 0x3c]
call fcn.18002ff10
mov rdx, rax
lea rcx, [r15 + 0x58]
mov r8d, 0x108
call fcn.18006fcf0
cmp dword [r15 + 0x58], 0x4550
jne 0x180062b51
xor r9d, r9d
xor r10d, r10d
movzx edx, word [r15 + 0x5e]
xor r8d, r8d
test edx, edx
lea rcx, [r15 + 0x160]
jle 0x180062cfa
mov qword [rsp + 0x48], rbx
mov rbx, rcx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdi
mov rdi, r9
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbp
mov ebp, r10d
mov ecx, 0x60
call fcn.180068700
mov rsi, rax
test rsi, rsi
je 0x180062c41
xor edx, edx
lea rcx, [rsi + 0x38]
lea rax, [0x18008b1e0]
mov dword [rsi + 8], 0
mov qword [rsi], rax
call fcn.180062df0
xor edx, edx
lea rcx, [rsi + 0x10]
mov r8d, 0x28
xor eax, eax
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x58], rax
call fcn.180012b10
jmp 0x180062c43
xor esi, esi
mov r8d, dword [r15 + 0x3c]
mov rcx, r14
movzx eax, word [r15 + 0x6c]
lea edx, [rax + r8 + 0x18]
add edx, ebp
call fcn.18002ff10
mov rdx, rax
lea rcx, [rsi + 0x10]
mov r8d, 0x28
call fcn.18006fcf0
mov edx, dword [rsi + 0x18]
lea r13, [rsi + 0x38]
mov rcx, r13
call fcn.180003d20
mov eax, dword [rsi + 0x18]
mov rcx, r13
mov r12d, dword [rsi + 0x20]
cmp eax, r12d
cmovl r12d, eax
xor edx, edx
call fcn.18002ff10
mov rcx, r14
mov r13, rax
mov edx, dword [rsi + 0x24]
call fcn.18002ff10
movsxd r12, r12d
mov rcx, r13
mov rdx, rax
mov r8, r12
call fcn.18006fcf0
mov rcx, rbx
mov rdx, rsi
mov r8d, dword [r15 + 0x164]
call fcn.180035bd0
inc rdi
add ebp, 0x28
movzx eax, word [r15 + 0x5e]
cmp rdi, rax
jl 0x180062bf6
mov rsi, qword [rsp + 0x40]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x20]
mov r8d, dword [r15 + 0x164]
xor edx, edx
lea r14d, [r8 - 1]
test r14d, r14d
jle 0x180062d75
mov qword [rsp + 0x48], rbx
mov rbx, rcx
mov qword [rsp + 0x40], rsi
mov esi, r8d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov r13d, edx
mov rcx, rbx
lea edi, [r13 + 1]
mov edx, edi
call fcn.180046140
mov rcx, rbx
mov edx, r13d
mov r12, rax
call fcn.180046140
mov r13d, edi
cmp edi, r14d
mov qword [rax + 0x50], r12
jl 0x180062d2e
mov rdi, qword [rsp + 0x38]
mov rcx, rbx
mov rbx, qword [rsp + 0x48]
mov r8d, esi
mov rsi, qword [rsp + 0x40]
mov r12, qword [rsp + 0x30]
mov r13, qword [rsp + 0x28]
mov edx, 1
xor r14d, r14d
cmp r8d, 1
jle 0x180062ddc
mov qword [rsp + 0x48], rbx
mov rbx, rcx
mov qword [rsp + 0x40], rsi
mov esi, r8d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov r12d, edx
mov rcx, rbx
mov edx, r14d
call fcn.180046140
mov rcx, rbx
mov edx, r12d
mov rdi, rax
call fcn.180046140
inc r12d
inc r14d
cmp r12d, esi
mov qword [rax + 0x58], rdi
jl 0x180062da0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov rax, r15
add rsp, 0x58
pop r15
pop r14
ret