Function at 0x10005b20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1006e6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [esp + 0x7c]
mov eax, 0xd
push ebp
mov ebp, ecx
mov ecx, dword [ebx + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x7c]
push esi
cmp eax, ecx
push edi
jl 0x10005bb8
push 0x10086258
push 0xffffffffffffffff
push 1
call fcn.1000bd30
push 0x38
call fcn.10060e1a
add esp, 0x10
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], 0
mov esi, dword [esp + 0x80]
test eax, eax
je 0x10005cac
mov ecx, dword [ebp]
push esi
push ecx
mov ecx, eax
call fcn.10048100
mov edx, dword [ebp + 0xc]
mov dword [edx + esi*4 - 4], eax
jmp 0x10006006
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x10005f58
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10005be5
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x10005bde
mov edx, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp edx, esi
je 0x10005c80
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10005bcc
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x10]
push 0
push eax
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], 9
call fcn.10045bc0
cmp dword [eax], 7
je 0x10005cc8
lea ecx, [esp + 0x10]
call fcn.10045cf0
push eax
push 0x10086230
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
push 0x38
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x84], eax
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], 2
test eax, eax
je 0x10005cba
mov edx, dword [ebp]
push esi
push edx
mov ecx, eax
call fcn.10048100
mov ecx, dword [ebp + 0xc]
mov dword [ecx + esi*4 - 4], eax
jmp 0x10006006
push 0x1008621c
push 0xffffffffffffffff
push 1
call fcn.1000bd30
push 0x38
call fcn.10060e1a
add esp, 0x10
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], 1
jmp 0x10005b91
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx + esi*4 - 4], eax
jmp 0x10006006
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx + esi*4 - 4], eax
jmp 0x10006006
push 0x120
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 3
je 0x10005d16
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x10005d03
mov ecx, dword [esp + 0x18]
mov edx, dword [edx + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.100478c0
mov esi, eax
jmp 0x10005d18
mov ecx, dword [esp + 0x18]
xor edx, edx
push ecx
push edx
mov ecx, eax
call fcn.100478c0
mov esi, eax
jmp 0x10005d18
xor esi, esi
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x50]
push 0
or edi, 0xffffffff
push edx
push str.Kids
mov dword [esp + 0x84], edi
call fcn.1000bbe0
cmp dword [eax], 6
jne 0x10005e86
push 0x10
mov dword [ebx + 0x14], esi
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 4
je 0x10005d69
mov ecx, eax
call fcn.1002d600
jmp 0x10005d6b
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword [ebx + 0x10], eax
mov dword [esp + 0x78], edi
xor edi, edi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x10005f3d
lea eax, [esp + 0x20]
push eax
push edi
call fcn.10004e30
cmp dword [eax], 9
jne 0x10005e4f
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x40]
push 0
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.10045bc0
cmp dword [eax], 7
jne 0x10005e29
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x60]
push 0
push eax
push 0x1008613c
call fcn.1000bbe0
mov ecx, dword [eax]
mov esi, dword [esp + 0x68]
cmp ecx, 1
je 0x10005dd5
mov esi, 1
lea ecx, [esp + 0x60]
call fcn.10045c00
push 0x18
call fcn.10060e1a
add esp, 4
test eax, eax
je 0x10005e13
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push esi
push ecx
push edx
mov ecx, eax
call fcn.10005320
mov ecx, dword [ebx + 0x10]
push eax
call fcn.1002d630
lea ecx, [esp + 0x40]
call fcn.10045c00
jmp 0x10005e6a
mov ecx, dword [ebx + 0x10]
xor eax, eax
push eax
call fcn.1002d630
lea ecx, [esp + 0x40]
call fcn.10045c00
jmp 0x10005e6a
lea ecx, [esp + 0x40]
call fcn.10045cf0
push eax
push 0x10086230
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.10045c00
jmp 0x10005e6a
lea ecx, [esp + 0x20]
call fcn.10045cf0
push eax
push 0x100861f0
push 0xffffffffffffffff
push 1
call fcn.1000bd30
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.10045c00
mov ecx, dword [esp + 0x58]
inc edi
cmp edi, dword [ecx + 0xc]
jl 0x10005d83
jmp 0x10005f3d
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x80]
mov ecx, dword [ebx]
push 0x38
mov dword [eax + edi*8 - 8], ecx
mov edx, dword [ebx + 4]
mov dword [eax + edi*8 - 4], edx
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 5
je 0x10005ece
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push esi
push ecx
push edi
push edx
mov ecx, eax
call fcn.10048010
jmp 0x10005ed0
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0xffffffff
mov dword [ecx + edi*4 - 4], eax
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + edi*4 - 4]
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x10005f3d
test esi, esi
je 0x10005f01
mov ecx, esi
call fcn.10048160
push esi
call fcn.10060e0f
add esp, 4
push 0x38
call fcn.10060e1a
add esp, 4
mov dword [esp + 0x88], eax
test eax, eax
mov dword [esp + 0x78], 6
je 0x10005f2c
mov ecx, dword [ebp]
push edi
push ecx
mov ecx, eax
call fcn.10048100
jmp 0x10005f2e
xor eax, eax
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x78], 0xffffffff
mov dword [edx + edi*4 - 4], eax
lea ecx, [esp + 0x50]
call fcn.10045c00
lea ecx, [esp + 0x10]
call fcn.10045c00
lea ecx, [esp + 0x30]
call fcn.10045c00
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10006006
mov edi, dword [eax + 8]
xor esi, esi
test edi, edi
jle 0x10005fae
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
cmp dword [esp + 0x84], eax
jl 0x10005f96
mov edx, dword [esp + 0x84]
add ecx, 4
sub edx, eax
inc esi
cmp esi, edi
mov dword [esp + 0x84], edx
jl 0x10005f6e
jmp 0x10005fae
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, ebp
call fcn.10005b20
mov edx, dword [ebx + 0x10]
cmp esi, dword [edx + 8]
jne 0x10006006
push 0x100861d0
push 0xffffffffffffffff
push 1
call fcn.1000bd30
push 0x38
call fcn.10060e1a
add esp, 0x10
mov dword [esp + 0x84], eax
test eax, eax
mov dword [esp + 0x78], 7
je 0x10005ff6
mov ecx, dword [esp + 0x80]
mov edx, dword [ebp]
push ecx
push edx
mov ecx, eax
call fcn.10048100
jmp 0x10005ff8
xor eax, eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x80]
mov dword [ecx + edx*4 - 4], eax
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0xc