Function at 0x140006ea0
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 0x140006ed0
xor eax, eax
jmp 0x140007126
movabs rax, 0xf73b9ac91f98e26b
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x40], rax
jmp 0x140006f09
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 0x140007124
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140006f3f
jmp 0x140006ef6
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x140006f4d
jmp 0x140006ef6
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 0x140006f7c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140006f81
jmp 0x140006ef6
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 0x140006faf
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140006fb4
jmp 0x140006ef6
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 0x140006fe9
jmp 0x140006ef6
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 0x140007051
cmp qword [rsp + 0x70], 0
je 0x140007051
cmp qword [rsp + 0x60], 0
je 0x140007051
cmp qword [rsp + 0x68], 0
jne 0x140007056
jmp 0x140006ef6
mov dword [rsp + 0x20], 0
jmp 0x14000706a
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 0x14000711f
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, 0xf73b9ac91f98e26b
cmp qword [rsp + 0x88], rax
jne 0x14000711a
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 0x140007126
jmp 0x140007060
jmp 0x140006ef6
xor eax, eax
add rsp, 0xc8
pop rdi
pop rsi
ret