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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [0x101dbe34]
mov dword [esp + 0x24], edi
mov eax, dword [edi + 0x3dd8]
mov dword [esp + 0xc], eax
cmp dword [edi + 0x3ddc], eax
je 0x1000db77
call fcn.1000d6f0
mov eax, dword [edi + 0x3dd8]
mov dword [esp + 0xc], eax
mov ecx, dword [edi + 0x3de0]
xor esi, esi
mov dword [esp + 0x14], ecx
mov dword [edi + 0x3de0], eax
mov dword [edi + 0xa8], 0
cmp dword [edi + 0x5a40], esi
jle 0x1000dbc4
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi + 0x5a48]
add eax, ebx
cmp dword [eax + 4], 4
jne 0x1000dbb8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a40]
jl 0x1000dba0
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [edi + 0x47ac], ecx
je 0x1000dc35
mov eax, dword [edi + 0x47b4]
mov ebx, 2
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x18], eax
add eax, 0x64
mov dword [esp + 0x1c], eax
mov esi, eax
nop dword [eax]
push 0
mov ecx, esi
call fcn.1001bb20
add esi, 0xc
sub ebx, 1
jne 0x1000dbf0
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0x30], ebx
je 0x1000dc24
push str.Background
xor edx, edx
call fcn.1000b130
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, eax
call fcn.1000ced0
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [edi + 0x47ac]
jne 0x1000dbd2
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
je 0x1000dc44
call fcn.1000d2f0
mov eax, dword [edi + 0x490c]
test eax, eax
je 0x1000dc69
test dword [eax + 8], 0x2000
jne 0x1000dc69
mov ebx, dword [eax + 0x300]
mov eax, dword [edi + 0x4914]
mov dword [esp + 0x1c], ebx
jmp 0x1000dc7d
xor ebx, ebx
mov dword [esp + 0x1c], ebx
test eax, eax
je 0x1000dc7b
mov eax, dword [edi + 0x4914]
jmp 0x1000dc7d
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
cmp dword [edi + 0x3df0], esi
je 0x1000dcd4
nop
mov eax, dword [edi + 0x3df8]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xa6], 0
je 0x1000dccb
cmp byte [ecx + 0xad], 0
jne 0x1000dccb
mov edx, dword [ecx + 8]
test edx, 0x1000000
jne 0x1000dccb
cmp ecx, ebx
je 0x1000dccb
cmp ecx, dword [esp + 0x10]
je 0x1000dccb
shr edx, 0x19
and edx, 1
call fcn.1000cfa0
inc esi
cmp esi, dword [edi + 0x3df0]
jne 0x1000dc90
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x1000dcfe
cmp byte [ecx + 0xa6], 0
je 0x1000dcfe
cmp byte [ecx + 0xad], 0
jne 0x1000dcfe
mov edx, dword [ecx + 8]
shr edx, 0x19
and edx, 1
call fcn.1000cfa0
inc esi
cmp esi, 2
jl 0x1000dcd6
cmp byte [edi + 0x60], 0
je 0x1000dd3e
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0xc]
je 0x1000dd3e
mov ecx, dword [edi + 0x4938]
cmp ecx, 0xffffffff
je 0x1000dd3e
push dword [edi + 0xdc0]
movss xmm0, dword [edi + 0x3864]
push dword [edi + 0xdbc]
sub esp, 8
call fcn.10009c30
add esp, 0x10
xor ecx, ecx
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa0], 0
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x47ac], ecx
jle 0x1000de9c
mov eax, dword [edi + 0x47b4]
mov ebx, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x70]
add eax, ecx
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [ebx + 0x64]
call fcn.1001bb20
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1000ddad
mov ecx, dword [esp + 0x1c]
shl eax, 2
push eax
mov eax, dword [ebx + 0x6c]
push dword [ebx + 0x78]
lea eax, [eax + ecx*4]
push eax
call fcn.10089890
add esp, 0xc
lea ecx, [ebx + 0x70]
push 0
call fcn.1001bb20
cmp dword [ebx + 0x34], 0
je 0x1000ddd1
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.1000b130
add esp, 4
lea ecx, [ebx + 0x64]
mov edx, eax
call fcn.1000ced0
mov esi, dword [0x101dbe34]
lea edx, [ebx + 0x64]
mov byte [ebx + 0x38], 1
cmp dword [edx], 0
jle 0x1000dde8
mov eax, dword [edx + 8]
jmp 0x1000ddea
xor eax, eax
mov dword [ebx + 0x48], eax
mov eax, dword [edx]
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 [esi + 0x5c]
mov eax, dword [esi + 0x58]
mov dword [ebx + 0x60], ecx
xor ecx, ecx
mov dword [ebx + 0x5c], eax
cmp dword [edx], ecx
jle 0x1000de78
mov edi, ecx
nop dword [eax]
mov eax, dword [edx + 8]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi]
test ecx, ecx
jle 0x1000de60
lea eax, [ecx + ecx*4]
shl eax, 3
mov edx, dword [esi + 8]
cmp dword [edx + eax - 0xc], 0
jne 0x1000de5d
cmp dword [edx + eax - 8], 0
jne 0x1000de5d
dec ecx
sub eax, 0x28
mov dword [esi], ecx
test ecx, ecx
jg 0x1000de42
lea edx, [ebx + 0x64]
mov ecx, dword [esi + 0x18]
inc edi
add ecx, dword [ebx + 0x44]
mov dword [ebx + 0x44], ecx
mov eax, dword [esi + 0xc]
add dword [ebx + 0x40], eax
cmp edi, dword [edx]
jl 0x1000de30
mov edi, dword [esp + 0x24]
add dword [edi + 0xa0], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x40]
inc ecx
add dword [edi + 0xa4], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x47ac]
jl 0x1000dd64
xor esi, esi
cmp dword [edi + 0x5a40], esi
jle 0x1000ded4
xor ebx, ebx
nop dword [eax + eax]
mov eax, dword [edi + 0x5a48]
add eax, ebx
cmp dword [eax + 4], 5
jne 0x1000dec8
push eax
mov eax, dword [eax + 0xc]
push edi
call eax
add esp, 8
inc esi
add ebx, 0x14
cmp esi, dword [edi + 0x5a40]
jl 0x1000deb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret