Function at 0x180053850
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 0x1800538a1
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 0x1800538aa
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 0x180053ba6
cmp qword [rsp + 0x38], 0
je 0x180053ba6
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x1800538fb
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.18004a270
mov qword [rsp + 0x50], rax
jmp 0x180053911
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call fcn.18004a190
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x180053ba6
mov r9d, dword [rsp + 0x2c]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.1800535d0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x180053ba6
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
call fcn.180053740
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180053ba6
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax]
test eax, eax
je 0x18005398f
mov qword [rsp + 0x58], 2
jmp 0x180053998
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.180052490
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180053ba6
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 0x180053a35
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.180053300
jmp 0x180053aba
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 0x180053a7a
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 0x180053a41
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.180053ec0
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.180053ec0
mov r8d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.180063740
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x180053b8e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x3c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x3c], eax
jmp 0x180053ba6
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