Function at 0x10018240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10041530
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1006e248]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x1007d199], 0
mov dword [0x1007d17c], 0
je 0x100182e4
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov ecx, dword [esi + 0x1c]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100182da
nop dword [eax + eax]
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x100182ca
mov edx, dword [edi + 4]
mov dword [ebp - 4], 0
test edx, edx
je 0x100182b8
mov ecx, dword [0x1007d214]
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.10022b01
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 0x10018290
mov dword [esi + 0x20], ecx
mov byte [0x1007d199], 0
cmp byte [0x1007d19a], 0
je 0x10018354
mov eax, dword [esi + 0x2c]
xor ebx, ebx
mov ecx, dword [esi + 0x28]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001834a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1001833a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 1
test edx, edx
je 0x10018328
mov ecx, dword [0x1007d214]
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.10022b01
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 0x10018300
mov dword [esi + 0x2c], ecx
mov byte [0x1007d19a], 0
cmp byte [0x1007d19b], 0
je 0x100183c4
mov eax, dword [esi + 0x38]
xor ebx, ebx
mov ecx, dword [esi + 0x34]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x100183ba
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x100183aa
mov edx, dword [edi + 4]
mov dword [ebp - 4], 2
test edx, edx
je 0x10018398
mov ecx, dword [0x1007d214]
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.10022b01
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 0x10018370
mov dword [esi + 0x38], ecx
mov byte [0x1007d19b], 0
cmp byte [0x1007d19c], 0
je 0x10018434
mov eax, dword [esi + 0x44]
xor ebx, ebx
mov ecx, dword [esi + 0x40]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001842a
nop
mov edi, dword [ecx + ebx*4]
test edi, edi
je 0x1001841a
mov edx, dword [edi + 4]
mov dword [ebp - 4], 3
test edx, edx
je 0x10018408
mov ecx, dword [0x1007d214]
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.10022b01
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 0x100183e0
mov dword [esi + 0x44], ecx
mov byte [0x1007d19c], 0
mov ecx, dword [0x1007d1ec]
push dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d1ec]
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d1ec]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d1ec]
push dword [esi + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d1ec]
push dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x1007d210]
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [0x1007d1dc]
add esi, 4
push str.SDKTools_PlayerRunCmd_11Params
push esi
push dword [0x1007d1d4]
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