Function at 0x1400066f0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
sub rsp, 0xc8
mov qword [rsp + 0x38], 0
mov rax, qword gs:[0x60]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140006720
xor eax, eax
jmp 0x140006976
movabs rax, 0x7c14263ddabe8eb4
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x40], rax
jmp 0x140006759
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rcx], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov rcx, qword [rsp + 0x40]
cmp qword [rcx], rax
je 0x140006974
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000678f
jmp 0x140006746
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x14000679d
jmp 0x140006746
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400067cc
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400067d1
jmp 0x140006746
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400067ff
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140006804
jmp 0x140006746
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x1c], 0
jne 0x140006839
jmp 0x140006746
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x30], 0
je 0x1400068a1
cmp qword [rsp + 0x70], 0
je 0x1400068a1
cmp qword [rsp + 0x60], 0
je 0x1400068a1
cmp qword [rsp + 0x68], 0
jne 0x1400068a6
jmp 0x140006746
mov dword [rsp + 0x20], 0
jmp 0x1400068ba
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x14000696f
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x80], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call fcn.1400054c0
lea rcx, [rsp + 0xa0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0xa0]
call fcn.140002d20
mov qword [rsp + 0x88], rax
movabs rax, 0x7c14263ddabe8eb4
cmp qword [rsp + 0x88], rax
jne 0x14000696a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x68]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x140006976
jmp 0x1400068b0
jmp 0x140006746
xor eax, eax
add rsp, 0xc8
pop rdi
pop rsi
ret