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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
jne 0x1801e1794
mov rcx, qword [rsp + 0x88]
call fcn.1801d9b90
movzx eax, al
test eax, eax
jne 0x1801e17c2
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x24], 0
jmp 0x1801e17db
mov rcx, qword [rsp + 0x90]
call fcn.1801d9b90
movzx eax, al
test eax, eax
jne 0x1801e17db
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e1801
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x10], ecx
jge 0x1801e1801
jmp 0x1801e1bb1
mov dword [rsp + 0x20], 0
jmp 0x1801e1815
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e1848
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jl 0x1801e1846
jmp 0x1801e1848
jmp 0x1801e180b
xor eax, eax
test eax, eax
jne 0x1801e1848
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e185d
xor eax, eax
test eax, eax
jne 0x1801e1857
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e18e6
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x28]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jne 0x1801e1891
jmp 0x1801e1bb1
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e18bd
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0x10]
cmp dword [rcx + rax + 0x38], edx
jg 0x1801e18bd
jmp 0x1801e1bb1
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax + 0x28]
mov rcx, rax
call fcn.1801e0d50
movzx eax, al
test eax, eax
je 0x1801e18e6
jmp 0x1801e1bb1
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e0e10
movzx eax, al
test eax, eax
je 0x1801e19c8
mov rcx, qword [rsp + 0x28]
call fcn.1801e0d90
movzx eax, al
test eax, eax
jne 0x1801e19c8
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e19a7
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
add eax, dword [rcx + 0x10]
cdq
sub eax, edx
sar eax, 1
mov edx, eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e0e50
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
mov eax, dword [rax + 0x10]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
mov rcx, qword [rsp + 0x80]
mov edx, dword [rcx + 0x1c]
mov ecx, eax
call fcn.180160af0
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0x14], eax
jmp 0x1801e19c8
mov rax, qword [rsp + 0x28]
mov edx, dword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 8]
call fcn.1801e0e50
mov rcx, qword [rsp + 0x28]
mov dword [rcx + 0x14], eax
cmp dword [rsp + 0x20], 0
jbe 0x1801e19f6
mov eax, dword [rsp + 0x20]
dec eax
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jge 0x1801e19f6
jmp 0x1801e1bb1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
cmp dword [rsp + 0x20], eax
jae 0x1801e1a58
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e1a35
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jle 0x1801e1a33
jmp 0x1801e1bb1
jmp 0x1801e1a58
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax + 0x3c]
cmp dword [rcx + 0x14], eax
jle 0x1801e1a58
jmp 0x1801e1bb1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
dec eax
mov dword [rsp + 0x40], eax
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e1a85
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x1801e1a94
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 0x20]
sub eax, ecx
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x44], 0xc0
jb 0x1801e1ac6
xor eax, eax
test eax, eax
jne 0x1801e1abb
jmp 0x1801e1bb1
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x50], 0
je 0x1801e1b26
mov eax, dword [rsp + 0x40]
imul rax, rax, 0x20
mov ecx, dword [rsp + 0x44]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
lea rdi, [rdx + rcx + 0x28]
lea rsi, [r8 + rax + 0x28]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x44]
dec eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1801e1ac6
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rdi, [rcx + rax + 0x28]
mov rsi, qword [rsp + 0x28]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
xor eax, eax
test eax, eax
jne 0x1801e1b5f
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1801e1bb1
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x80]
lea rdi, [rcx + rax + 0x28]
mov rsi, qword [rsp + 0x30]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
xor eax, eax
test eax, eax
jne 0x1801e1bab
add rsp, 0x68
pop rdi
pop rsi
ret