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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x50
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x60], eax
jle 0x1801cfe36
jmp 0x1801d0038
mov dword [rsp + 0x24], 0
jmp 0x1801cfe4a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
jg 0x1801d0038
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x80], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x70]
movsxd rcx, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
mov ecx, dword [r8 + rcx*8]
cmp dword [rdx + rax*8], ecx
jle 0x1801cfec2
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x78], eax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
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 + 0x30]
cmp dword [rsp + 0x2c], eax
jne 0x1801cff4a
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jne 0x1801d0033
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
je 0x1801cff79
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x30]
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.18019a040
mov dword [rsp + 0x48], eax
jmp 0x1801cff81
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
jmp 0x1801cff9d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x20], eax
jg 0x1801d0033
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jg 0x1801cffdb
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1801d001a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jl 0x1801cfff7
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x1801d001a
mov eax, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov edx, dword [rsp + 0x44]
mov ecx, eax
call fcn.180199fe0
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x28]
mov dword [rcx + rax*8], edx
jmp 0x1801cff93
jmp 0x1801cfe40
add rsp, 0x50
pop rdi
ret