Function at 0x1800da290
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 [0x18015c950]
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 [0x180160838]
call qword [0x1800fc080]
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 [0x1800fc0c0]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1800da697
cmp qword [rsp + 0x58], 0xffffffffffffffff
je 0x1800da697
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [0x1800fc098]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jle 0x1800da68c
movsxd rax, dword [rsp + 0x48]
mov rcx, rax
call fcn.1800ade30
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1800da68c
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 [0x1800fc0b8]
test eax, eax
je 0x1800da672
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x74], eax
jne 0x1800da672
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 0x1800da4b1
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x44], eax
jmp 0x1800da4c1
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 0x1800da672
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x44], eax
jg 0x1800da672
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 0x1800da548
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 0x1800da548
mov byte [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x1800da595
mov dword [rsp + 0x4c], 0
jmp 0x1800da565
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
jge 0x1800da595
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 0x1800da55b
mov rax, qword [rsp + 0x908]
cmp qword [rax + 0x18], 8
jb 0x1800da5c9
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 0x1800da5d9
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 [0x1800fc0c0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1800da672
cmp qword [rsp + 0x78], 0xffffffffffffffff
je 0x1800da672
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 [0x1800fc0a8]
test eax, eax
je 0x1800da667
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x70], eax
jne 0x1800da667
mov dword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x78]
call qword [0x1800fc138]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1800b3050
mov rcx, qword [rsp + 0x58]
call qword [0x1800fc138]
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.1800b2920
add rsp, 0x8f0
pop rdi
ret