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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rcx, rbx
xor edx, edx
mov r8d, 0x1d8
call fcn.180012810
xor r9d, r9d
mov qword [rbx], rdi
mov eax, 0x5a4d
mov dword [rbx + 8], r9d
mov qword [rbx + 0x18], rdi
cmp word [rdi], ax
jne 0x180005642
movsxd rcx, dword [rdi + 0x3c]
add rcx, rdi
cmp dword [rcx], 0x4550
jne 0x180005642
cmp word [rcx + 6], r9w
je 0x180005642
movzx eax, word [rcx + 0x14]
mov edx, 0xe0
lea r8d, [rdx + 0x6c]
cmp ax, dx
jne 0x18000564f
cmp word [rcx + 4], r8w
jne 0x180005642
mov eax, 0x10b
cmp word [rcx + 0x18], ax
je 0x18000566f
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xf0
cmp ax, dx
jne 0x180005642
mov eax, 0x8664
cmp word [rcx + 4], ax
jne 0x180005642
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180005642
lea rax, [rdi + 0x40]
mov qword [rbx + 0x20], rax
mov eax, dword [rdi + 0x3c]
sub eax, 0x40
mov dword [rbx + 0x28], eax
cmp word [rcx + 4], r8w
lea r8, [rcx + 0x18]
jne 0x1800056a1
mov dword [rbx + 0x10], r9d
lea rdx, [rcx + 0x78]
mov qword [rbx + 0x30], rcx
mov qword [rbx + 0x38], rcx
mov qword [rbx + 0x40], r9
jmp 0x1800056bb
mov dword [rbx + 0x10], 1
lea rdx, [rcx + 0x88]
mov qword [rbx + 0x30], r9
mov qword [rbx + 0x38], r9
mov qword [rbx + 0x40], rcx
mov eax, dword [rcx + 0x28]
mov dword [rbx + 0x48], eax
mov eax, dword [rcx + 0x3c]
mov dword [rbx + 0x4c], eax
mov eax, dword [rcx + 0x38]
mov dword [rbx + 0x50], eax
mov eax, dword [rcx + 0x54]
mov dword [rbx + 0x54], eax
mov qword [rbx + 0x58], rdx
movzx eax, word [rcx + 6]
mov dword [rbx + 0x60], eax
movzx eax, word [rcx + 0x14]
add r8, rax
mov eax, dword [rbx + 0x60]
mov qword [rbx + 0x68], r8
lea rcx, [rax + rax*4]
lea rax, [r8 + rcx*8]
mov qword [rbx + 0x70], rax
mov eax, dword [rdx]
test eax, eax
je 0x18000570b
cmp dword [rdx + 4], r9d
je 0x18000570b
add rax, rdi
mov qword [rbx + 0x78], rax
mov eax, dword [rdx + 8]
test eax, eax
je 0x180005722
cmp dword [rdx + 0xc], r9d
je 0x180005722
add rax, rdi
mov qword [rbx + 0x80], rax
mov eax, dword [rdx + 0x10]
test eax, eax
je 0x180005739
cmp dword [rdx + 0x14], r9d
je 0x180005739
add rax, rdi
mov qword [rbx + 0x88], rax
add rdx, 0x18
cmp dword [rdx], r9d
je 0x18000574f
cmp dword [rdx + 4], r9d
je 0x18000574f
mov qword [rbx + 0x90], rdx
add rdx, 8
cmp dword [rdx], r9d
je 0x180005765
cmp dword [rdx + 4], r9d
je 0x180005765
mov qword [rbx + 0x98], rdx
mov eax, dword [rdx + 8]
test eax, eax
je 0x18000577c
cmp dword [rdx + 0xc], r9d
je 0x18000577c
add rax, rdi
mov qword [rbx + 0xa0], rax
mov eax, dword [rdx + 0x10]
test eax, eax
je 0x180005793
cmp dword [rdx + 0x14], r9d
je 0x180005793
add rax, rdi
mov qword [rbx + 0xa8], rax
add rdx, 0x18
cmp dword [rdx], r9d
je 0x1800057a9
cmp dword [rdx + 4], r9d
je 0x1800057a9
mov qword [rbx + 0xb0], rdx
add rdx, 8
cmp dword [rdx], r9d
je 0x1800057bf
cmp dword [rdx + 4], r9d
je 0x1800057bf
mov qword [rbx + 0xb8], rdx
mov eax, dword [rdx + 8]
test eax, eax
je 0x1800057f0
cmp dword [rdx + 0xc], r9d
je 0x1800057f0
cmp dword [rbx + 0x10], r9d
je 0x1800057de
add rax, rdi
mov qword [rbx + 0xd0], rax
jmp 0x1800057f0
lea rcx, [rdi + rax]
mov qword [rbx + 0xc0], rcx
mov qword [rbx + 0xc8], rcx
mov eax, dword [rdx + 0x10]
test eax, eax
je 0x180005821
cmp dword [rdx + 0x14], r9d
je 0x180005821
cmp dword [rbx + 0x10], r9d
je 0x18000580f
add rax, rdi
mov qword [rbx + 0xe8], rax
jmp 0x180005821
lea rcx, [rdi + rax]
mov qword [rbx + 0xd8], rcx
mov qword [rbx + 0xe0], rcx
mov eax, dword [rdx + 0x18]
test eax, eax
je 0x180005838
cmp dword [rdx + 0x1c], r9d
je 0x180005838
add rax, rdi
mov qword [rbx + 0xf0], rax
mov eax, dword [rdx + 0x20]
test eax, eax
je 0x180005866
mov ecx, dword [rdx + 0x24]
test ecx, ecx
je 0x180005866
add rax, rdi
mov qword [rbx + 0x108], rcx
mov qword [rbx + 0xf8], rax
add rax, rcx
mov qword [rbx + 0x100], rax
jmp 0x180005920
cmp qword [rbx + 0x80], r9
je 0x180005920
mov qword [rbx + 0xf8], r9
mov qword [rbx + 0x100], r9
mov qword [rbx + 0x108], r9
mov r8, qword [rbx + 0x80]
cmp dword [r8], r9d
je 0x180005920
mov eax, dword [r8 + 0x10]
test eax, eax
je 0x180005912
cmp qword [rdi + rax], 0
lea rcx, [rdi + rax]
mov rax, rcx
je 0x1800058ba
nop
add rax, 8
cmp qword [rax], 0
jne 0x1800058b0
cmp qword [rbx + 0xf8], rcx
ja 0x1800058cd
cmp qword [rbx + 0x108], 0
jne 0x1800058d4
mov qword [rbx + 0xf8], rcx
sub rax, rcx
add rax, 8
sar rax, 3
lea r9, [rcx + rax*8]
cmp qword [rbx + 0x100], r9
jb 0x1800058f6
cmp qword [rbx + 0x108], 0
jne 0x1800058fd
mov qword [rbx + 0x100], r9
mov rax, qword [rbx + 0x100]
sub rax, qword [rbx + 0xf8]
mov qword [rbx + 0x108], rax
add r8, 0x14
cmp dword [r8], 0
jne 0x180005898
mov eax, dword [rdx + 0x28]
test eax, eax
je 0x180005937
cmp dword [rdx + 0x2c], 0
je 0x180005937
add rax, rdi
mov qword [rbx + 0x110], rax
cmp dword [rdx + 0x30], 0
je 0x180005951
cmp dword [rdx + 0x34], 0
je 0x180005951
lea rcx, [rdx + 0xa0]
mov qword [rbx + 0x118], rcx
mov rcx, rbx
call fcn.180005970
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret