Function at 0x18019c990
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 0x18019c9b6
jmp 0x18019cbb8
mov dword [rsp + 0x24], 0
jmp 0x18019c9ca
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
jg 0x18019cbb8
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 0x18019ca42
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 0x18019caca
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jne 0x18019cbb3
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
je 0x18019caf9
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.180166bc0
mov dword [rsp + 0x48], eax
jmp 0x18019cb01
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 0x18019cb1d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x20], eax
jg 0x18019cbb3
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 0x18019cb5b
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x18019cb9a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jl 0x18019cb77
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x18019cb9a
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.180166b60
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 0x18019cb13
jmp 0x18019c9c0
add rsp, 0x50
pop rdi
ret