Function at 0x180196920
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 0x180196946
jmp 0x180196b48
mov dword [rsp + 0x24], 0
jmp 0x18019695a
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 1
jg 0x180196b48
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 0x1801969d2
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 0x180196a5a
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jne 0x180196b43
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x2c], eax
je 0x180196a89
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.180160b50
mov dword [rsp + 0x48], eax
jmp 0x180196a91
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 0x180196aad
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x20], eax
jg 0x180196b43
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 0x180196aeb
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x180196b2a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jl 0x180196b07
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
jmp 0x180196b2a
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.180160af0
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 0x180196aa3
jmp 0x180196950
add rsp, 0x50
pop rdi
ret