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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x298
mov rax, qword [0x180052080]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x24], 0x4b
mov eax, 1
mov word [rsp + 0x40], ax
mov byte [rsp + 0x25], 0
mov dword [rsp + 0x70], 4
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0x68]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18000608d
xor eax, eax
jmp 0x18000636a
mov rax, qword [rsp + 0x68]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp dword [rax], 0x4550
je 0x180006110
mov rax, qword [rsp + 0x30]
jmp 0x18000636a
lea rax, [rsp + 0x190]
mov rcx, qword [rsp + 0x60]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
cmp dword [rsp + rax + 0x200], 0
jne 0x180006177
mov rax, qword [rsp + 0x30]
jmp 0x18000636a
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x200]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xd0], 0
lea rax, [rsp + 0x160]
lea rcx, str.nbjfKUXxOZVwAkgrJGuRdmPeMDtsQFNyzqoBvcIYCi
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2b
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x2a], 0
mov eax, 4
mov word [rsp + 0x4c], ax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0xa0]
lea rcx, str.oYvOZ
mov rdi, rax
mov rsi, rcx
mov ecx, 6
rep movsb byte [rdi], byte [rsi]
mov eax, 1
mov word [rsp + 0x50], ax
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x78], 4
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov qword [rsp + 0xe0], 0
mov byte [rsp + 0x2b], 0x5a
mov dword [rsp + 0x20], 0
jmp 0x18000628a
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x20], eax
jae 0x180006365
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x2b8]
mov rcx, rax
call fcn.180022c48
test eax, eax
jne 0x180006360
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x98]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x2b0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
xor eax, eax
mov word [rsp + 0x54], ax
mov byte [rsp + 0x2c], 0x72
lea rax, [rsp + 0xf8]
lea rcx, str.dYsOyNkqvz
mov rdi, rax
mov rsi, rcx
mov ecx, 0xb
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x2d], 0
mov qword [rsp + 0xe8], 7
mov dword [rsp + 0x80], 2
mov eax, 2
mov word [rsp + 0x58], ax
jmp 0x180006365
jmp 0x180006280
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1800184f0
add rsp, 0x298
pop rdi
pop rsi
ret