Function at 0x180099110
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 0x18009913a
jmp 0x1800993ea
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x88], eax
jae 0x18009915c
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x90], eax
jb 0x180099161
jmp 0x1800993ea
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 0x1800991d5
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 0x180099267
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jne 0x1800992f6
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
jmp 0x18009927b
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
ja 0x1800992f1
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 0x1800992b7
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x1800992db
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x4c], eax
jl 0x1800992d3
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x1800992db
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 0x180099271
jmp 0x1800993ea
mov dword [rsp + 0x50], 0
mov byte [rsp + 0x54], 0
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
jmp 0x180099317
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x80]
cmp dword [rsp + 0x20], eax
ja 0x1800993ea
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 0x180099357
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x1800993d1
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x58], eax
jl 0x180099373
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x58]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x58], eax
jmp 0x1800993d1
movzx eax, byte [rsp + 0x54]
test eax, eax
jne 0x1800993a4
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.18004eb20
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.18004eac0
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 0x18009930d
add rsp, 0x60
pop rdi
ret