Function at 0x180052ca0
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
sub rsp, 0x78
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
cmp dword [rsp + 0x88], eax
jae 0x180052cf1
mov eax, dword [rsp + 0x88]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x20]
mov qword [rsp + 0x48], rax
jmp 0x180052cfa
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x11]
test eax, eax
je 0x180052ff6
cmp qword [rsp + 0x38], 0
je 0x180052ff6
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x180052d4b
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.180048300
mov qword [rsp + 0x50], rax
jmp 0x180052d61
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.180048220
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x180052ff6
mov r9d, dword [rsp + 0x2c]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.180052a20
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x180052ff6
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.180052b90
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180052ff6
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x180052ddf
mov qword [rsp + 0x58], 2
jmp 0x180052de8
mov qword [rsp + 0x58], 1
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x50]
movsxd rcx, dword [rsp + 0x2c]
imul rcx, qword [rsp + 0x58]
add rax, rcx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1800518e0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180052ff6
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0x18], 0
jne 0x180052e85
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x38]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x18], ecx
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.180052750
jmp 0x180052f0a
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
cmp dword [rcx + rax + 0x18], 0
je 0x180052eca
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x28], eax
jmp 0x180052e91
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x28]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 0x18], edx
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0x28]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.180053310
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x18], 0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x98]
mov dword [rax + 0x1c], ecx
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x20], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
movzx ecx, byte [rcx]
mov byte [rax + 0x24], cl
mov rax, qword [rsp + 0x30]
movzx ecx, word [rsp + 0x2c]
mov word [rax + 0x26], cx
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
inc eax
mov rcx, qword [rsp + 0x38]
mov dword [rcx + 0x20], eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
call fcn.180053310
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.180062fe0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x180052fde
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x3c], eax
jmp 0x180052ff6
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x34]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x34], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret