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

Disassembly:
push rbp
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov byte [rcx + 0x48], 0
mov rdi, rcx
mov r14, rdx
mov qword [rbp + 0x28], 0xf53714
mov rax, qword [rbp + 0x28]
xor r15d, r15d
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x28], 0xf53718
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x28], 0xf537ef
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov r8, qword gs:[0x60]
mov qword [rbp + 0x28], 0xf537ea
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
test r8, r8
je 0x18000270e
mov qword [rbp + 0x28], 0xf537f3
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rsp + 0x88], rbx
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
mov qword [rsp + 0x50], rsi
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rsi, qword [r8 + 0x18]
mov qword [rbp + 0x28], 0xf537c4
add rsi, 0x20
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x28], 0xf537cd
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rbx, qword [rsi]
mov qword [rbp + 0x28], 0xf537cb
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
cmp rbx, rsi
je 0x1800022d3
mov qword [rbp + 0x28], 0xf537dc
mov qword [rbp - 0x28], 0xf537a5
mov qword [rbp - 0x20], 0xf53786
mov qword [rbp - 0x18], 0xf5378c
nop
mov rax, qword [rbp + 0x28]
xor r8d, r8d
xor rax, 0x64
mov qword [rbp - 0x30], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x38], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rbp - 0x28]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov rdx, r14
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbx + 0x50]
call fcn.1800018e0
test rax, rax
je 0x18000221b
mov qword [rbp + 0x38], 0xf537ae
mov rax, qword [rbp + 0x38]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov eax, dword [rbx + 0x30]
mov dword [rdi + 8], eax
mov qword [rbp + 0x38], 0xf537b7
mov rax, qword [rbp + 0x38]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rbx + 0x20]
mov qword [rdi], rax
mov qword [rbp + 0x38], 0xf537bd
mov rax, qword [rbp + 0x38]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rbp - 0x20]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rbp - 0x18]
mov rbx, qword [rbx]
xor rax, 0x64
mov qword [rbp - 0x38], rax
mov qword [rbp + 0x40], 0x64
mov qword [rbp + 0x38], r15
mov qword [rbp - 0x30], 2
mov rcx, qword [rbp + 0x38]
mov rax, qword [rbp + 0x40]
inc rax
add rcx, rax
mov qword [rbp + 0x40], rcx
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x38]
sub rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x40]
cqo
idiv rcx
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x38]
cmp rbx, rsi
jne 0x180002030
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x88]
mov qword [rbp + 0x28], 0xf5378a
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov ecx, 0x5a4d
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi]
mov qword [rdi + 0x10], rax
cmp word [rax], cx
jne 0x18000270e
mov qword [rbp + 0x28], 0xf5379e
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x10]
movsxd rdx, dword [rax + 0x3c]
add rdx, qword [rdi]
mov qword [rdi + 0x18], rdx
cmp dword [rdx], 0x4550
jne 0x1800026b0
mov qword [rbp + 0x28], 0xf53862
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x28], 0xf5386b
mov ecx, dword [rax + 0x88]
mov rax, qword [rbp + 0x28]
mov dword [rdi + 0x20], ecx
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x18]
mov qword [rbp + 0x28], 0xf5387c
mov ecx, dword [rax + 0x8c]
mov rax, qword [rbp + 0x28]
mov dword [rdi + 0x24], ecx
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rdi + 0x20]
add rax, qword [rdi]
mov qword [rdi + 0x28], rax
mov qword [rbp + 0x28], 0xf53845
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x28], 0xf5384e
mov ecx, dword [rax + 0x1c]
mov rax, qword [rbp + 0x28]
add rcx, qword [rdi]
xor rax, 0x64
mov qword [rdi + 0x30], rcx
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x28], 0xf53857
mov ecx, dword [rax + 0x24]
mov rax, qword [rbp + 0x28]
add rcx, qword [rdi]
xor rax, 0x64
mov qword [rdi + 0x38], rcx
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, qword [rdi + 0x28]
mov qword [rbp + 0x28], 0xf5385d
mov ecx, dword [rax + 0x20]
add rcx, qword [rdi]
mov rax, qword [rbp + 0x28]
mov qword [rdi + 0x40], rcx
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov byte [rdi + 0x48], 1
mov qword [rbp + 0x28], 0xf53826
mov rax, qword [rbp + 0x28]
xor rax, 0x64
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x38], 0x64
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x40], 2
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x38]
inc rax
add rcx, rax
mov qword [rbp + 0x38], rcx
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp - 0x18]
sub rcx, rax
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x38]
cqo
idiv rcx
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov rax, rdi
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rbp
ret