Function at 0x1801f7510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
add rax, 0x178
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov dword [rax], 0
mov rax, qword [rsp + 0xc8]
mov dword [rax + 4], 0
cmp dword [rsp + 0xb8], 0
jbe 0x1801f7587
mov eax, dword [rsp + 0xb8]
dec eax
mov dword [rsp + 0xb8], eax
cmp dword [rsp + 0xc0], 0
jbe 0x1801f75a1
mov eax, dword [rsp + 0xc0]
dec eax
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xb8], eax
ja 0x1801f75c9
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0xc0], eax
jbe 0x1801f75ce
jmp 0x1801f7ba8
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc0]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0xb0]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
shl eax, 0x10
movzx ecx, word [rsp + 0x3c]
or eax, ecx
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0xc0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0xa0]
mov qword [rsp + 0x50], rax
jmp 0x1801f7650
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801f7678
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x40], eax
jb 0x1801f7676
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x40], eax
ja 0x1801f7676
jmp 0x1801f767d
jmp 0x1801f7643
jmp 0x1801f7ba8
mov rax, qword [rsp + 0x48]
mov edx, dword [rax + 0x10]
mov rcx, qword [rsp + 0x50]
call fcn.1801a1450
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x1801f76c3
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov rcx, qword [rsp + 0x48]
imul eax, dword [rcx + 0xc]
mov edx, eax
mov rcx, qword [rsp + 0x50]
call fcn.1801a1750
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1801f76c8
jmp 0x1801f7ba8
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 8]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x5c], eax
mov ecx, dword [rsp + 0x58]
call fcn.1801f6c00
mov ecx, 1
mov dword [rsp + 0x90], ecx
movzx ecx, al
mov eax, dword [rsp + 0x90]
shl eax, cl
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x5c]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x58]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 1
test eax, eax
je 0x1801f774b
mov byte [rsp + 0x94], 1
jmp 0x1801f7753
mov byte [rsp + 0x94], 0
movzx eax, byte [rsp + 0x94]
mov byte [rsp + 0x78], al
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 9]
and eax, 2
test eax, eax
je 0x1801f7779
mov byte [rsp + 0x95], 1
jmp 0x1801f7781
mov byte [rsp + 0x95], 0
movzx eax, byte [rsp + 0x95]
mov byte [rsp + 0x79], al
cmp dword [rsp + 0x68], 0
jbe 0x1801f78ef
mov eax, dword [rsp + 0x68]
imul eax, dword [rsp + 0x5c]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801f7847
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801f7891
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801f78a3
jmp 0x1801f7b26
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1801f78ef
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1801f78cf
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
jmp 0x1801f78e2
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x64], eax
jbe 0x1801f7a31
mov eax, dword [rsp + 0x64]
shr eax, 1
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801f79af
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801f79f9
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801f7a0b
jmp 0x1801f7b26
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jae 0x1801f7a2c
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x1801f78ef
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
movzx eax, byte [rsp + 0x78]
test eax, eax
je 0x1801f7acf
mov rax, qword [rsp + 0x80]
add rax, 4
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax - 4]
shl eax, 0x18
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 0x10
or eax, ecx
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
shl ecx, 8
or eax, ecx
mov ecx, 1
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx - 4]
or eax, ecx
mov dword [rsp + 0x88], eax
jmp 0x1801f7b19
mov rax, qword [rsp + 0x80]
add rax, 2
mov qword [rsp + 0x80], rax
mov eax, 1
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 0x10
mov ecx, 1
imul rcx, rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x88], eax
jne 0x1801f7b9e
movzx eax, byte [rsp + 0x79]
test eax, eax
je 0x1801f7b68
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
shl eax, 8
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rdx + rcx]
or eax, ecx
cwde
mov dword [rsp + 0x8c], eax
jmp 0x1801f7b84
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x48]
movsx eax, word [rax + 0xa]
add eax, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x50]
call fcn.1801a1930
mov eax, dword [rsp + 0x28]
add rsp, 0xa0
pop rdi
ret