Function at 0x140007130
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 0x140007160
xor eax, eax
jmp 0x1400073b6
movabs rax, 0x99383f8609dae594
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x40], rax
jmp 0x140007199
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 0x1400073b4
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400071cf
jmp 0x140007186
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x1400071dd
jmp 0x140007186
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 0x14000720c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140007211
jmp 0x140007186
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 0x14000723f
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140007244
jmp 0x140007186
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 0x140007279
jmp 0x140007186
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 0x1400072e1
cmp qword [rsp + 0x70], 0
je 0x1400072e1
cmp qword [rsp + 0x60], 0
je 0x1400072e1
cmp qword [rsp + 0x68], 0
jne 0x1400072e6
jmp 0x140007186
mov dword [rsp + 0x20], 0
jmp 0x1400072fa
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 0x1400073af
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, 0x99383f8609dae594
cmp qword [rsp + 0x88], rax
jne 0x1400073aa
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 0x1400073b6
jmp 0x1400072f0
jmp 0x140007186
xor eax, eax
add rsp, 0xc8
pop rdi
pop rsi
ret