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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x8f0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov rax, qword [0x18015d950]
xor rax, rsp
mov qword [rsp + 0x8e0], rax
mov dword [rsp + 0x60], 0
xor eax, eax
mov word [rsp + 0xe0], ax
lea rax, [rsp + 0xe2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov r8d, 0x400
lea rdx, [rsp + 0xe0]
mov rcx, qword [0x180161838]
call qword [0x1800fd088]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
lea rcx, [rsp + 0xe0]
call qword [0x1800fd0c0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1800da8a7
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x1800da8a7
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [0x1800fd098]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jle 0x1800da89c
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call fcn.1800ade60
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1800da89c
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
call qword [0x1800fd0b8]
test eax, eax
je 0x1800da882
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x74], eax
jne 0x1800da882
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0xb0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
add rax, 0x108
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax - 0x28]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x88]
add eax, dword [rcx + 0x10]
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax + 0x88]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x64], 0
jle 0x1800da6c1
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x1800da6d1
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0x44], 0
jle 0x1800da882
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x44], eax
jg 0x1800da882
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1800da758
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
add rax, qword [rsp + 0x98]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp dword [rax], 0x4550
jne 0x1800da758
mov byte [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1800da7a5
mov dword [rsp + 0x4c], 0
jmp 0x1800da775
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
jge 0x1800da7a5
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
xor eax, 0x60
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
jmp 0x1800da76b
mov rax, qword [rsp + 0x908]
cmp qword [rax + 0x18], 8
jb 0x1800da7d9
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x908]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x1800da7e9
mov rax, qword [rsp + 0x908]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x10000000
mov rcx, qword [rsp + 0x90]
call qword [0x1800fd0c0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800da882
cmp qword [rsp + 0x78], 0xffffffffffffffff
je 0x1800da882
mov dword [rsp + 0x70], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [0x1800fd0a8]
test eax, eax
je 0x1800da877
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x70], eax
jne 0x1800da877
mov dword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x78]
call qword [0x1800fd118]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1800b30e0
mov rcx, qword [rsp + 0x58]
call qword [0x1800fd118]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xa4], eax
xor r8d, r8d
mov dl, 1
mov rcx, qword [rsp + 0x908]
call fcn.1800030d0
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x8e0]
xor rcx, rsp
call fcn.1800b29b0
add rsp, 0x8f0
pop rdi
ret