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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 8]
call fcn.180065d20
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x28]
call fcn.1800638a0
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 8]
call fcn.1800638a0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
jge 0x18002ccd0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x38], eax
jmp 0x18002ccd8
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0xc8]
movsxd rcx, dword [rsp + 0x24]
imul rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
je 0x18002cd1d
mov rcx, qword [rsp + 0x58]
call fcn.1800823a0
test eax, eax
je 0x18002cd1d
mov dword [rsp + 0x20], 8
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
jmp 0x18002cd49
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x20], 0
jne 0x18002cef0
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x30], rax
jge 0x18002cef0
mov qword [rsp + 0x40], 0
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x30]
cqo
mov rcx, qword [rsp + 0x68]
idiv rcx
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
xor edx, edx
mov eax, dword [0x180398fa4]
mov rcx, qword [rsp + 0x70]
div dword [rcx + 0x30]
inc eax
cmp dword [rsp + 0x3c], eax
jne 0x18002cdbe
jmp 0x18002cd34
xor r9d, r9d
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x58]
call fcn.180082340
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002cee1
mov rcx, qword [rsp + 0x40]
call fcn.180084270
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x18002cee1
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x30]
cqo
mov rcx, qword [rsp + 0x78]
idiv rcx
mov rax, rdx
mov rcx, qword [rsp + 0xd0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x40]
call fcn.180082380
mov qword [rsp + 0x88], rax
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x30]
cqo
mov rcx, qword [rsp + 0x80]
idiv rcx
mov rax, rdx
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x40]
call fcn.1800aa640
mov ecx, 1
imul rcx, rcx, 0
mov byte [rax + rcx], 0
cmp qword [rsp + 0x30], 0
jne 0x18002cee1
cmp dword [rsp + 0xd8], 0
jne 0x18002cee1
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rax + 0x28]
call fcn.180064870
mov ecx, 1
imul rcx, rcx, 0x1c
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.18008a420
mov rcx, qword [rsp + 0x40]
call fcn.180084150
jmp 0x18002cd34
mov eax, dword [rsp + 0x20]
add rsp, 0xa8
pop rdi
pop rsi
ret