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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x10265568]
push esi
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [ebx + 0x3eb0]
cmp dword [ebx + 0x3eb4], eax
je 0x1000bb7b
call fcn.1000b640
mov eax, dword [ebx + 0x3eb0]
cmp dword [ebx + 0x3ebc], eax
je 0x1000bf24
mov edx, 4
mov dword [ebx + 0x3ebc], eax
mov ecx, ebx
mov dword [ebx + 0xb0], 0
call fcn.10007ad0
mov ecx, dword [ebx + 0x48e8]
mov eax, dword [ebx + 0x48e0]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
cmp ecx, eax
je 0x1000bca0
mov ebx, ecx
nop
mov esi, dword [ebx]
mov eax, dword [0x10265568]
mov dword [ebp - 0xc], eax
push 0
lea edi, [esi + 0x80]
mov dword [esi + 0x30], edi
lea ecx, [edi + 0x10]
lea eax, [esi + 0xc0]
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
call fcn.10027b00
mov ecx, dword [esi + 0xbc]
push 0
call fcn.10027b00
mov eax, dword [esi + 4]
shr eax, 0xc
and al, 1
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
je 0x1000bc3d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
jmp 0x1000bc4c
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x28], ecx
mov ecx, dword [ebp - 0xc]
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 0x1000bc91
push str.Background
xor edx, edx
mov ecx, esi
call fcn.10008c00
mov edx, dword [esi + 0xb8]
add esp, 4
mov ecx, edi
push eax
call fcn.10033780
add esp, 4
add ebx, 4
cmp ebx, dword [ebp - 8]
jne 0x1000bbc0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x3f00]
mov eax, dword [ebx + 0x3ef8]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000bcd4
mov ecx, dword [esi]
test dword [ecx + 0xc], 0x20000000
je 0x1000bccd
mov ecx, dword [ecx + 0x2a4]
push ecx
add ecx, 0x78
call fcn.100331e0
add esi, 4
cmp esi, edi
jne 0x1000bcb3
call fcn.1000b0a0
mov eax, dword [ebx + 0x4aa0]
test eax, eax
je 0x1000bcfd
test dword [eax + 0xc], 0x2000
jne 0x1000bcfd
mov edi, dword [eax + 0x348]
mov eax, dword [ebx + 0x4aa8]
mov dword [ebp - 0x14], edi
jmp 0x1000bd10
xor edi, edi
mov dword [ebp - 0x14], edi
test eax, eax
je 0x1000bd0e
mov eax, dword [ebx + 0x4aa8]
jmp 0x1000bd10
xor eax, eax
xor esi, esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
cmp dword [ebx + 0x3eec], esi
je 0x1000bd63
mov eax, dword [ebx + 0x3ef4]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xdf], 0
je 0x1000bd5a
cmp byte [ecx + 0xe6], 0
jne 0x1000bd5a
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1000bd5a
cmp ecx, edi
je 0x1000bd5a
cmp ecx, dword [ebp - 8]
je 0x1000bd5a
shr edx, 0x19
and edx, 1
call fcn.1000aba0
inc esi
cmp esi, dword [ebx + 0x3eec]
jne 0x1000bd20
xor esi, esi
mov ecx, dword [ebp + esi*4 - 0x14]
test ecx, ecx
je 0x1000bd8d
cmp byte [ecx + 0xdf], 0
je 0x1000bd8d
cmp byte [ecx + 0xe6], 0
jne 0x1000bd8d
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1000aba0
inc esi
cmp esi, 2
jl 0x1000bd65
cmp byte [ebx + 0x4c], 0
je 0x1000bdc3
mov ecx, dword [ebx + 0x4c0c]
cmp ecx, 0xffffffff
je 0x1000bdc3
push dword [ebx + 0xdc8]
movss xmm0, dword [ebx + 0x38fc]
push dword [ebx + 0xdc4]
sub esp, 8
call fcn.10007350
add esp, 0x10
xor ecx, ecx
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xa8], 0
mov dword [ebp - 0xc], ecx
cmp dword [ebx + 0x48e0], ecx
jle 0x1000beeb
nop dword [eax + eax]
mov eax, dword [ebx + 0x48e8]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0xbc]
mov ecx, dword [esi + 0xb8]
mov eax, dword [eax]
mov edx, dword [ecx]
add eax, edx
push eax
mov dword [ebp - 0x10], edx
call fcn.10027b00
mov edi, dword [esi + 0xbc]
mov eax, dword [edi]
test eax, eax
je 0x1000be48
mov ecx, dword [ebp - 0x10]
shl eax, 2
push eax
mov eax, dword [esi + 0xb8]
push dword [edi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + ecx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, edi
push 0
call fcn.10027b00
cmp dword [esi + 0x7c], 0
lea edx, [esi + 0x80]
mov dword [ebp - 8], edx
je 0x1000be83
push str.Foreground
mov edx, 1
mov ecx, esi
call fcn.10008c00
mov edx, dword [esi + 0xb8]
lea ecx, [esi + 0x80]
add esp, 4
push eax
call fcn.10033780
mov edx, dword [ebp - 8]
add esp, 4
xor edi, edi
cmp dword [edx + 0x10], edi
jle 0x1000bec6
nop word [eax + eax]
mov eax, dword [edx + 0x18]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi]
test ecx, ecx
jle 0x1000bec0
lea eax, [ecx + ecx*4]
shl eax, 3
mov edx, dword [esi + 8]
cmp dword [eax + edx - 0xc], 0
jne 0x1000bebd
cmp dword [eax + edx - 8], 0
jne 0x1000bebd
dec ecx
sub eax, 0x28
mov dword [esi], ecx
test ecx, ecx
jg 0x1000bea2
mov edx, dword [ebp - 8]
inc edi
cmp edi, dword [edx + 0x10]
jl 0x1000be90
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0xa8], eax
inc ecx
mov eax, dword [edx + 8]
add dword [ebx + 0xac], eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebx + 0x48e0]
jl 0x1000bdf0
xor esi, esi
cmp dword [ebx + 0x5c20], esi
jle 0x1000bf24
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x5c28]
add eax, edi
cmp dword [eax + 4], 5
jne 0x1000bf18
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5c20]
jl 0x1000bf00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret