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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x78], eax
jbe 0x18019f4ea
jmp 0x18019f79a
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x88], eax
jae 0x18019f50c
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x90], eax
jb 0x18019f511
jmp 0x18019f79a
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jle 0x18019f585
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x38]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
je 0x18019f617
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jne 0x18019f6a6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
jmp 0x18019f62b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
ja 0x18019f6a1
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x4c], eax
jg 0x18019f667
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x18019f68b
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x4c], eax
jl 0x18019f683
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x18019f68b
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x4c]
mov dword [rcx + rax*8], edx
jmp 0x18019f621
jmp 0x18019f79a
mov dword [rsp + 0x50], 0
mov byte [rsp + 0x54], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
jmp 0x18019f6c7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
ja 0x18019f79a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x58], eax
jg 0x18019f707
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x18019f781
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x58], eax
jl 0x18019f723
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x18019f781
movzx eax, byte [rsp + 0x54]
test eax, eax
jne 0x18019f754
mov byte [rsp + 0x54], 1
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x34]
mov edx, dword [rsp + 0x38]
sub edx, ecx
mov ecx, edx
mov edx, eax
call fcn.180160b50
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x24]
mov eax, dword [rcx + rax*8]
sub eax, edx
mov edx, dword [rsp + 0x50]
mov ecx, eax
call fcn.180160af0
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov edx, dword [rsp + 0x58]
mov dword [rcx + rax*8], edx
jmp 0x18019f6bd
add rsp, 0x60
pop rdi
ret