Function at 0x140005cb0
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 0x140005ce0
xor eax, eax
jmp 0x140005f36
movabs rax, 0xea0400958e96d2c8
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x40], rax
jmp 0x140005d19
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 0x140005f34
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140005d4f
jmp 0x140005d06
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x140005d5d
jmp 0x140005d06
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 0x140005d8c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140005d91
jmp 0x140005d06
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 0x140005dbf
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x140005dc4
jmp 0x140005d06
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 0x140005df9
jmp 0x140005d06
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 0x140005e61
cmp qword [rsp + 0x70], 0
je 0x140005e61
cmp qword [rsp + 0x60], 0
je 0x140005e61
cmp qword [rsp + 0x68], 0
jne 0x140005e66
jmp 0x140005d06
mov dword [rsp + 0x20], 0
jmp 0x140005e7a
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 0x140005f2f
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, 0xea0400958e96d2c8
cmp qword [rsp + 0x88], rax
jne 0x140005f2a
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 0x140005f36
jmp 0x140005e70
jmp 0x140005d06
xor eax, eax
add rsp, 0xc8
pop rdi
pop rsi
ret