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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10162378]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [0x10167324]
push esi
push edi
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0x3fe4]
cmp eax, dword [ebx + 0x3fe0]
je 0x1000c9f4
call fcn.1000c450
mov eax, dword [ebx + 0x3fe0]
cmp dword [ebx + 0x3fec], eax
je 0x1000cf37
mov dword [ebx + 0x3fec], eax
mov dword [ebx + 0xac], 0
mov eax, dword [ebx + 0x5ecc]
mov esi, dword [ebx + 0x5ed4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000ca47
nop dword [eax]
cmp dword [esi + 4], 4
jne 0x1000ca40
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000ca30
mov ecx, dword [ebx + 0x4ae8]
mov eax, dword [ebx + 0x4ae0]
mov dword [esp + 0xc], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x14], eax
cmp ecx, eax
je 0x1000cc0e
nop word [eax + eax]
mov esi, dword [ecx]
mov eax, dword [0x10167324]
mov dword [esp + 0x10], eax
lea edi, [esi + 0x80]
mov dword [esi + 0x30], edi
lea ebx, [edi + 0x10]
lea eax, [esi + 0xc0]
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], eax
mov ecx, dword [ebx + 4]
test ecx, ecx
jns 0x1000cab8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.100359f0
mov dword [ebx], 0
mov ebx, dword [esi + 0xbc]
mov ecx, dword [ebx + 4]
test ecx, ecx
jns 0x1000cae3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.100359f0
mov dword [ebx], 0
mov edx, dword [esi + 4]
shr edx, 0xc
mov byte [edi], 1
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], ecx
and dl, 1
je 0x1000cb2a
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
jmp 0x1000cb38
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
test dl, dl
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
cmovne ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ecx + 0x40]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
mov dword [edi + 0x34], esi
cmp dword [esi + 0x78], 0
je 0x1000cbf5
push str.Background
xor edx, edx
mov ecx, esi
call fcn.100099c0
mov edi, dword [esi + 0xb8]
mov ebx, eax
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x1000cbf5
cmp eax, 1
jne 0x1000cba0
mov eax, dword [ebx + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000cba0
cmp dword [eax + 0x20], 0
je 0x1000cbf5
mov edx, dword [edi]
mov ecx, dword [edi + 4]
cmp edx, ecx
jne 0x1000cbd3
inc edx
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x1000cbc1
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
add eax, ecx
jmp 0x1000cbc6
mov eax, 8
cmp eax, edx
mov ecx, edi
cmovg edx, eax
push edx
call fcn.100359f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
inc dword [esi + 0x84]
mov eax, dword [ebx + 0x18]
add dword [esi + 0x8c], eax
mov eax, dword [ebx + 0xc]
add dword [esi + 0x88], eax
mov ecx, dword [esp + 0xc]
add ecx, 4
mov dword [esp + 0xc], ecx
cmp ecx, dword [esp + 0x14]
jne 0x1000ca70
mov ebx, dword [esp + 0x18]
call fcn.1000bed0
mov eax, dword [ebx + 0x4ce8]
test eax, eax
je 0x1000cc38
test dword [eax + 0xc], 0x2000
jne 0x1000cc38
mov edi, dword [eax + 0x348]
mov ebx, dword [ebx + 0x4cf0]
mov dword [esp + 0x1c], edi
jmp 0x1000cc4c
xor edi, edi
mov dword [esp + 0x1c], edi
test eax, eax
je 0x1000cc4a
mov ebx, dword [ebx + 0x4cf0]
jmp 0x1000cc4c
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov esi, dword [eax + 0x4024]
mov eax, dword [eax + 0x401c]
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x1000ccad
nop dword [eax + eax]
mov ecx, dword [esi]
cmp byte [ecx + 0xdf], 0
je 0x1000cca6
cmp byte [ecx + 0xe6], 0
jne 0x1000cca6
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1000cca6
cmp ecx, edi
je 0x1000cca6
cmp ecx, ebx
je 0x1000cca6
shr edx, 0x19
and edx, 1
call fcn.1000b900
mov eax, dword [esp + 0x14]
add esi, 4
cmp esi, eax
jne 0x1000cc70
xor esi, esi
nop
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x1000ccd8
cmp byte [ecx + 0xdf], 0
je 0x1000ccd8
cmp byte [ecx + 0xe6], 0
jne 0x1000ccd8
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1000b900
inc esi
cmp esi, 2
jl 0x1000ccb0
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x4c], 0
je 0x1000cd12
mov ecx, dword [ebx + 0x4e54]
cmp ecx, 0xffffffff
je 0x1000cd12
push dword [ebx + 0xe0c]
movss xmm0, dword [ebx + 0x3a2c]
push dword [ebx + 0xe08]
sub esp, 8
call fcn.100070b0
add esp, 0x10
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xa4], 0
mov ecx, dword [ebx + 0x4ae8]
mov eax, dword [ebx + 0x4ae0]
mov dword [esp + 0x10], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
cmp ecx, eax
je 0x1000cf07
nop word [eax + eax]
mov ecx, dword [ecx]
mov dword [esp + 0xc], ecx
mov ebx, dword [ecx + 0xb8]
mov eax, dword [ecx + 0xbc]
mov edx, dword [ebx]
mov esi, dword [eax]
mov edi, dword [ebx + 4]
add esi, edx
mov dword [esp + 0x14], edx
cmp esi, edi
jle 0x1000cda0
test edi, edi
je 0x1000cd84
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, edi
jmp 0x1000cd89
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, ebx
push eax
call fcn.100359f0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [ebx], esi
mov esi, dword [ecx + 0xbc]
mov eax, dword [esi]
test eax, eax
je 0x1000cdf3
shl eax, 2
push eax
mov eax, dword [ecx + 0xb8]
push dword [esi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + edx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
jns 0x1000cde9
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100359f0
mov ecx, dword [esp + 0xc]
mov dword [esi], 0
cmp dword [ecx + 0x7c], 0
je 0x1000ce86
push str.Foreground
mov edx, 1
call fcn.100099c0
mov ecx, dword [esp + 0x10]
mov ebx, eax
add esp, 4
mov eax, dword [ebx]
mov esi, dword [ecx + 0xb8]
test eax, eax
je 0x1000ce86
cmp eax, 1
jne 0x1000ce35
mov eax, dword [ebx + 8]
cmp dword [eax + 0x1c], 0
jne 0x1000ce35
cmp dword [eax + 0x20], 0
je 0x1000ce86
mov edi, dword [esi]
mov ecx, dword [esi + 4]
cmp edi, ecx
jne 0x1000ce60
inc edi
test ecx, ecx
je 0x1000ce4e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000ce53
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.100359f0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0xc]
inc dword [esi]
inc dword [ecx + 0x84]
mov eax, dword [ebx + 0x18]
add dword [ecx + 0x8c], eax
mov eax, dword [ebx + 0xc]
add dword [ecx + 0x88], eax
mov edi, dword [ecx + 0x98]
mov eax, dword [ecx + 0x90]
lea ebx, [edi + eax*4]
cmp edi, ebx
je 0x1000ced6
nop dword [eax]
mov esi, dword [edi]
mov ecx, dword [esi]
test ecx, ecx
jle 0x1000cecb
lea eax, [ecx + ecx*4]
shl eax, 3
nop
mov edx, dword [esi + 8]
cmp dword [edx + eax - 0xc], 0
jne 0x1000cecb
cmp dword [edx + eax - 8], 0
jne 0x1000cecb
dec ecx
sub eax, 0x28
mov dword [esi], ecx
test ecx, ecx
jg 0x1000ceb0
add edi, 4
cmp edi, ebx
jne 0x1000cea0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, dword [ecx + 0x8c]
add dword [ebx + 0xa4], eax
mov eax, dword [ecx + 0x88]
mov ecx, dword [esp + 0x10]
add dword [ebx + 0xa8], eax
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ecx, dword [esp + 0x1c]
jne 0x1000cd50
mov eax, dword [ebx + 0x5ecc]
mov esi, dword [ebx + 0x5ed4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000cf37
nop dword [eax]
cmp dword [esi + 4], 5
jne 0x1000cf30
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000cf20
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret