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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1005b008]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [0x1006ef44]
push esi
push edi
mov dword [esp + 0x28], ebx
mov eax, dword [ebx + 0x3ddc]
cmp eax, dword [ebx + 0x3dd8]
je 0x10011d24
call fcn.10011920
mov eax, dword [ebx + 0x3de0]
xor esi, esi
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3dd8]
mov dword [esp + 0x14], eax
mov dword [ebx + 0x3de0], eax
mov dword [ebx + 0xa4], 0
cmp dword [ebx + 0x5a98], esi
jle 0x10011d78
xor edi, edi
mov eax, dword [ebx + 0x5aa0]
add eax, edi
cmp dword [eax + 4], 4
jne 0x10011d6c
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5a98]
jl 0x10011d54
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x47d0], ecx
je 0x10011ea1
nop word [eax + eax]
mov eax, dword [ebx + 0x47d8]
mov esi, dword [0x1006ef44]
push 0
mov edi, dword [eax + ecx*4]
lea ecx, [edi + 0x48]
lea eax, [edi + 0x78]
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
call fcn.100222e0
mov ecx, dword [edi + 0x74]
push 0
call fcn.100222e0
mov byte [edi + 0x38], 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], edi
cmp dword [edi + 0x30], 0
je 0x10011e8c
push str.Background
xor edx, edx
mov ecx, edi
call fcn.1000f500
mov esi, dword [edi + 0x70]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov eax, dword [edx]
test eax, eax
je 0x10011e8c
cmp eax, 1
jne 0x10011e3a
mov eax, dword [edx + 8]
cmp dword [eax + 0x1c], 0
jne 0x10011e3a
cmp dword [eax + 0x20], 0
je 0x10011e8c
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x10011e73
lea edx, [eax + 1]
mov dword [esp + 0x20], edx
test ecx, ecx
je 0x10011e5d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, ecx
jmp 0x10011e62
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10022140
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edx
inc dword [esi]
inc dword [edi + 0x3c]
mov eax, dword [edx + 0x18]
add dword [edi + 0x44], eax
mov eax, dword [edx + 0xc]
add dword [edi + 0x40], eax
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x47d0]
jne 0x10011d90
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x14]
je 0x10011eb0
call fcn.10011530
mov eax, dword [ebx + 0x4948]
test eax, eax
je 0x10011ed5
test dword [eax + 0xc], 0x2000
jne 0x10011ed5
mov edi, dword [eax + 0x300]
mov eax, dword [ebx + 0x4950]
mov dword [esp + 0x18], edi
jmp 0x10011ee9
xor edi, edi
mov dword [esp + 0x18], edi
test eax, eax
je 0x10011ee7
mov eax, dword [ebx + 0x4950]
jmp 0x10011ee9
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x3e10], esi
je 0x10011f44
nop dword [eax + eax]
mov eax, dword [ebx + 0x3e18]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xaa], 0
je 0x10011f3b
cmp byte [ecx + 0xb1], 0
jne 0x10011f3b
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x10011f3b
cmp ecx, edi
je 0x10011f3b
cmp ecx, dword [esp + 0x10]
je 0x10011f3b
shr edx, 0x19
and edx, 1
call fcn.10011150
inc esi
cmp esi, dword [ebx + 0x3e10]
jne 0x10011f00
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x18]
test ecx, ecx
je 0x10011f6e
cmp byte [ecx + 0xaa], 0
je 0x10011f6e
cmp byte [ecx + 0xb1], 0
jne 0x10011f6e
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.10011150
inc esi
cmp esi, 2
jl 0x10011f46
cmp byte [ebx + 0x44], 0
je 0x10011fae
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x14]
je 0x10011fae
mov ecx, dword [ebx + 0x4ab4]
cmp ecx, 0xffffffff
je 0x10011fae
push dword [ebx + 0xdbc]
vmovss xmm0, dword [ebx + 0x384c]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.1000d3f0
add esp, 0x10
xor ecx, ecx
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x9c], 0
mov dword [esp + 0x14], ecx
cmp dword [ebx + 0x47d0], ecx
jle 0x1001212c
mov eax, dword [ebx + 0x47d8]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
mov eax, dword [eax]
mov edx, dword [ecx]
add eax, edx
push eax
mov dword [esp + 0x1c], edx
call fcn.100222e0
mov esi, dword [edi + 0x74]
mov eax, dword [esi]
test eax, eax
je 0x10012022
mov ecx, dword [esp + 0x18]
shl eax, 2
push eax
mov eax, dword [edi + 0x70]
push dword [esi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, esi
push 0
call fcn.100222e0
cmp dword [edi + 0x34], 0
je 0x100120b5
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.1000f500
mov esi, dword [edi + 0x70]
mov edx, eax
add esp, 4
mov dword [esp + 0x20], edx
mov eax, dword [edx]
test eax, eax
je 0x100120b5
cmp eax, 1
jne 0x10012063
mov eax, dword [edx + 8]
cmp dword [eax + 0x1c], 0
jne 0x10012063
cmp dword [eax + 0x20], 0
je 0x100120b5
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x1001209c
lea edx, [eax + 1]
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x10012086
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x1001208b
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10022140
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edx
inc dword [esi]
inc dword [edi + 0x3c]
mov eax, dword [edx + 0x18]
add dword [edi + 0x44], eax
mov eax, dword [edx + 0xc]
add dword [edi + 0x40], eax
cmp dword [edi + 0x48], 0
mov dword [esp + 0x18], 0
jle 0x10012105
mov ebx, dword [esp + 0x18]
mov eax, dword [edi + 0x50]
mov esi, dword [eax + ebx*4]
mov ecx, dword [esi]
test ecx, ecx
jle 0x100120fb
lea eax, [ecx + ecx*4]
shl eax, 3
nop dword [eax]
mov edx, dword [esi + 8]
cmp dword [edx + eax - 0xc], 0
jne 0x100120fb
cmp dword [edx + eax - 8], 0
jne 0x100120fb
dec ecx
sub eax, 0x28
mov dword [esi], ecx
test ecx, ecx
jg 0x100120e0
inc ebx
cmp ebx, dword [edi + 0x48]
jl 0x100120c7
mov ebx, dword [esp + 0x28]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
add dword [ebx + 0x9c], eax
inc ecx
mov eax, dword [edi + 0x40]
add dword [ebx + 0xa0], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebx + 0x47d0]
jl 0x10011fd4
xor esi, esi
cmp dword [ebx + 0x5a98], esi
jle 0x10012164
xor edi, edi
nop dword [eax + eax]
mov eax, dword [ebx + 0x5aa0]
add eax, edi
cmp dword [eax + 4], 5
jne 0x10012158
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5a98]
jl 0x10012140
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1004c44e
mov esp, ebp
pop ebp
ret