Function at 0x10017f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100411d0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1006e288]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x1007d1d9], 0
mov dword [0x1007d1bc], 0
je 0x10017fc4
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov ecx, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x10017fba
nop dword [eax + eax]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x10017faa
mov edx, dword [edi + 4]
mov dword [ebp - 4], 0
test edx, edx
je 0x10017f98
mov ecx, dword [0x1007d254]
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.100227b1
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 0x10017f70
mov dword [esi + 0x20], ecx
mov byte [0x1007d1d9], 0
cmp byte [0x1007d1da], 0
je 0x10018034
mov eax, dword [esi + 0x2c]
xor ebx, ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001802a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1001801a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 1
test edx, edx
je 0x10018008
mov ecx, dword [0x1007d254]
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.100227b1
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 0x10017fe0
mov dword [esi + 0x2c], ecx
mov byte [0x1007d1da], 0
cmp byte [0x1007d1db], 0
je 0x100180a4
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001809a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1001808a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 2
test edx, edx
je 0x10018078
mov ecx, dword [0x1007d254]
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.100227b1
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 0x10018050
mov dword [esi + 0x38], ecx
mov byte [0x1007d1db], 0
cmp byte [0x1007d1dc], 0
je 0x10018114
mov eax, dword [esi + 0x44]
xor ebx, ebx
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001810a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x100180fa
mov edx, dword [edi + 4]
mov dword [ebp - 4], 3
test edx, edx
je 0x100180e8
mov ecx, dword [0x1007d254]
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.100227b1
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 0x100180c0
mov dword [esi + 0x44], ecx
mov byte [0x1007d1dc], 0
mov ecx, dword [0x1007d22c]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d22c]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d22c]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d22c]
push dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d22c]
push dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d250]
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x1007d21c]
add esi, 4
push str.SDKTools_PlayerRunCmd_11Params
push esi
push dword [0x1007d214]
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