Function at 0x10017c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059a70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1008b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x1009a6f9], 0
mov dword [0x1009a6dc], 0
je 0x10017d04
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov ecx, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10017cfa
nop dword [eax + eax]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x10017cea
mov edx, dword [edi + 4]
mov dword [ebp - 4], 0
test edx, edx
je 0x10017cd8
mov ecx, dword [0x1009a774]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi + 4], 0
push 8
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.100351a8
add esp, 8
mov eax, dword [esi + 0x20]
inc ebx
mov ecx, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x10017cb0
mov dword [esi + 0x20], ecx
mov byte [0x1009a6f9], 0
cmp byte [0x1009a6fa], 0
je 0x10017d74
mov eax, dword [esi + 0x2c]
xor ebx, ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10017d6a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x10017d5a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 1
test edx, edx
je 0x10017d48
mov ecx, dword [0x1009a774]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi + 4], 0
push 8
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.100351a8
add esp, 8
mov eax, dword [esi + 0x2c]
inc ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x10017d20
mov dword [esi + 0x2c], ecx
mov byte [0x1009a6fa], 0
cmp byte [0x1009a6fb], 0
je 0x10017de4
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10017dda
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x10017dca
mov edx, dword [edi + 4]
mov dword [ebp - 4], 2
test edx, edx
je 0x10017db8
mov ecx, dword [0x1009a774]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi + 4], 0
push 8
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.100351a8
add esp, 8
mov eax, dword [esi + 0x38]
inc ebx
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x10017d90
mov dword [esi + 0x38], ecx
mov byte [0x1009a6fb], 0
cmp byte [0x1009a6fc], 0
je 0x10017e54
mov eax, dword [esi + 0x44]
xor ebx, ebx
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10017e4a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x10017e3a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 3
test edx, edx
je 0x10017e28
mov ecx, dword [0x1009a774]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [edi + 4], 0
push 8
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.100351a8
add esp, 8
mov eax, dword [esi + 0x44]
inc ebx
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x10017e00
mov dword [esi + 0x44], ecx
mov byte [0x1009a6fc], 0
mov ecx, dword [0x1009a74c]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1009a74c]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1009a74c]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1009a74c]
push dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1009a74c]
push dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1009a770]
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x1009a73c]
add esi, 4
push str.SDKTools_PlayerRunCmd_11Params
push esi
push dword [0x1009a734]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret