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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1008b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x1012ab90]
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 0x3dcc]
cmp eax, dword [edi + 0x3dc8]
je 0x1000c48f
call fcn.1000c100
mov eax, dword [edi + 0x3dd0]
mov edx, 4
mov dword [ebp - 0xc], eax
mov ecx, edi
mov eax, dword [edi + 0x3dc8]
mov dword [ebp - 0x10], eax
mov dword [edi + 0x3dd0], eax
mov dword [edi + 0xac], 0
call fcn.10009050
xor ecx, ecx
mov dword [ebp - 8], ecx
cmp dword [edi + 0x47bc], ecx
je 0x1000c577
nop
mov eax, dword [edi + 0x47c4]
mov ebx, 2
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x64]
push 0
mov ecx, esi
call fcn.1001c700
add esi, 0xc
sub ebx, 1
jne 0x1000c4e4
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0x30], ebx
je 0x1000c564
push str.Background
xor edx, edx
mov ecx, esi
call fcn.10009da0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c564
cmp ecx, 1
jne 0x1000c529
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], ebx
jne 0x1000c529
cmp dword [eax + 0x20], ebx
je 0x1000c564
mov ecx, dword [esi + 0x68]
lea ebx, [esi + 0x64]
mov esi, dword [ebx]
cmp esi, ecx
jne 0x1000c557
inc esi
test ecx, ecx
je 0x1000c545
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000c54a
mov eax, 8
cmp eax, esi
mov ecx, ebx
cmovg esi, eax
push esi
call fcn.1001c5d0
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
inc dword [ebx]
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [edi + 0x47bc]
jne 0x1000c4d0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x1000c584
call fcn.1000bae0
mov eax, dword [edi + 0x491c]
test eax, eax
je 0x1000c5a8
test dword [eax + 0xc], 0x2000
jne 0x1000c5a8
mov ebx, dword [eax + 0x300]
mov eax, dword [edi + 0x4924]
mov dword [ebp - 0x18], ebx
jmp 0x1000c5bb
xor ebx, ebx
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x1000c5b9
mov eax, dword [edi + 0x4924]
jmp 0x1000c5bb
xor eax, eax
xor esi, esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], eax
cmp dword [edi + 0x3e00], esi
je 0x1000c613
nop dword [eax + eax]
mov eax, dword [edi + 0x3e08]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xaa], 0
je 0x1000c60a
cmp byte [ecx + 0xb1], 0
jne 0x1000c60a
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1000c60a
cmp ecx, ebx
je 0x1000c60a
cmp ecx, dword [ebp - 8]
je 0x1000c60a
shr edx, 0x19
and edx, 1
call fcn.1000b790
inc esi
cmp esi, dword [edi + 0x3e00]
jne 0x1000c5d0
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x18]
test ecx, ecx
je 0x1000c63d
cmp byte [ecx + 0xaa], 0
je 0x1000c63d
cmp byte [ecx + 0xb1], 0
jne 0x1000c63d
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1000b790
inc esi
cmp esi, 2
jl 0x1000c615
cmp byte [edi + 0x60], 0
je 0x1000c67b
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
je 0x1000c67b
mov ecx, dword [edi + 0x4948]
cmp ecx, 0xffffffff
je 0x1000c67b
push dword [edi + 0xdc4]
movss xmm0, dword [edi + 0x3854]
push dword [edi + 0xdc0]
sub esp, 8
call fcn.10008830
add esp, 0x10
xor ecx, ecx
mov dword [edi + 0xa8], 0
mov dword [edi + 0xa4], 0
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x47bc], ecx
jle 0x1000c82b
mov eax, dword [edi + 0x47c4]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x70]
add eax, ecx
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebx + 0x64]
call fcn.1001c700
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1000c6e7
mov ecx, dword [ebp - 0x14]
shl eax, 2
push eax
mov eax, dword [ebx + 0x6c]
push dword [ebx + 0x78]
lea eax, [eax + ecx*4]
push eax
call fcn.1004c220
add esp, 0xc
lea ecx, [ebx + 0x70]
push 0
call fcn.1001c700
cmp dword [ebx + 0x34], 0
je 0x1000c75a
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.10009da0
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x1000c75a
cmp ecx, 1
jne 0x1000c71e
mov eax, dword [eax + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000c71e
cmp dword [eax + 0x20], 0
je 0x1000c75a
mov esi, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x68]
cmp esi, ecx
jne 0x1000c74b
inc esi
test ecx, ecx
je 0x1000c738
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000c73d
mov eax, 8
cmp eax, esi
lea ecx, [ebx + 0x64]
cmovg esi, eax
push esi
call fcn.1001c5d0
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x6c]
mov edx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
inc dword [ebx + 0x64]
mov edx, dword [0x1012ab90]
mov byte [ebx + 0x38], 1
cmp dword [ebx + 0x64], 0
jle 0x1000c76f
mov eax, dword [ebx + 0x6c]
jmp 0x1000c771
xor eax, eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x4c], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x54], eax
mov ecx, dword [edx + 0x5c]
mov eax, dword [edx + 0x58]
xor edx, edx
mov dword [ebx + 0x60], ecx
xor ecx, ecx
mov dword [ebx + 0x5c], eax
mov dword [ebp - 0x10], edx
cmp dword [ebx + 0x64], ecx
jle 0x1000c806
mov eax, dword [ebx + 0x6c]
mov esi, dword [eax + edx*4]
mov ecx, dword [esi]
test ecx, ecx
jle 0x1000c7ee
lea eax, [ecx + ecx*4]
shl eax, 3
nop word [eax + eax]
mov edx, dword [esi + 8]
cmp dword [eax + edx - 0xc], 0
jne 0x1000c7eb
cmp dword [eax + edx - 8], 0
jne 0x1000c7eb
dec ecx
sub eax, 0x28
mov dword [esi], ecx
test ecx, ecx
jg 0x1000c7d0
mov edx, dword [ebp - 0x10]
mov ecx, dword [esi + 0x18]
inc edx
add ecx, dword [ebx + 0x44]
mov dword [ebx + 0x44], ecx
mov eax, dword [esi + 0xc]
add dword [ebx + 0x40], eax
mov dword [ebp - 0x10], edx
cmp edx, dword [ebx + 0x64]
jl 0x1000c7b8
mov edi, dword [ebp - 0x1c]
add dword [edi + 0xa4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x40]
inc ecx
add dword [edi + 0xa8], eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [edi + 0x47bc]
jl 0x1000c6a0
xor esi, esi
cmp dword [edi + 0x5a60], esi
jle 0x1000c864
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [edi + 0x5a68]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x1000c858
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a60]
jl 0x1000c840
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004a7ae
mov esp, ebp
pop ebp
ret