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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [0x100aff30]
push esi
push edi
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x3fe0]
cmp dword [ebx + 0x3fe4], eax
je 0x1000b3cf
call fcn.1000af60
mov eax, dword [ebx + 0x3fe0]
cmp dword [ebx + 0x3fec], eax
je 0x1000b908
mov dword [ebx + 0x3fec], eax
mov dword [ebx + 0xb0], 0
mov eax, dword [ebx + 0x5f64]
mov esi, dword [ebx + 0x5f6c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000b418
cmp dword [esi + 4], 4
jne 0x1000b411
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b401
mov ecx, dword [ebx + 0x4b44]
mov eax, dword [ebx + 0x4b3c]
mov dword [esp + 0x18], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x2c], eax
cmp ecx, eax
je 0x1000b5e8
nop word [eax + eax]
mov esi, dword [ecx]
mov eax, dword [0x100aff30]
mov dword [esp + 0x24], 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 0x1000b4c5
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edx, eax
mov dword [esp + 0x1c], edx
cmp edx, ecx
jle 0x1000b4c5
lea ecx, [edx*4]
call fcn.100082b0
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1000b4bb
mov ecx, dword [ebx]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 8]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx], 0
mov ebx, dword [esi + 0xbc]
mov ecx, dword [ebx + 4]
test ecx, ecx
jns 0x1000b52d
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edx, eax
mov dword [esp + 0x1c], edx
cmp edx, ecx
jle 0x1000b52d
lea ecx, [edx*4]
call fcn.100082b0
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1000b523
mov ecx, dword [ebx]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 8]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x20]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov dword [ebx], 0
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 0x1000b577
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
jmp 0x1000b589
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x24]
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 0x1000b5cf
push str.Background
xor edx, edx
mov ecx, esi
call fcn.100083c0
mov edx, dword [esi + 0xb8]
add esp, 4
mov ecx, edi
push eax
call fcn.10032e10
add esp, 4
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x2c]
jne 0x1000b440
mov ebx, dword [esp + 0x14]
call fcn.1000aa10
mov eax, dword [ebx + 0x4d58]
test eax, eax
je 0x1000b612
test dword [eax + 0xc], 0x2000
jne 0x1000b612
mov edi, dword [eax + 0x350]
mov ebx, dword [ebx + 0x4d60]
mov dword [esp + 0x24], edi
jmp 0x1000b626
xor edi, edi
mov dword [esp + 0x24], edi
test eax, eax
je 0x1000b624
mov ebx, dword [ebx + 0x4d60]
jmp 0x1000b626
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
mov esi, dword [eax + 0x4024]
mov eax, dword [eax + 0x401c]
lea eax, [esi + eax*4]
mov dword [esp + 0x2c], eax
cmp esi, eax
je 0x1000b682
mov ecx, dword [esi]
cmp byte [ecx + 0xe7], 0
je 0x1000b67b
cmp byte [ecx + 0xee], 0
jne 0x1000b67b
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1000b67b
cmp ecx, edi
je 0x1000b67b
cmp ecx, ebx
je 0x1000b67b
shr edx, 0x19
and edx, 1
call fcn.1000a4f0
mov eax, dword [esp + 0x2c]
add esi, 4
cmp esi, eax
jne 0x1000b645
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x24]
test ecx, ecx
je 0x1000b6ac
cmp byte [ecx + 0xe7], 0
je 0x1000b6ac
cmp byte [ecx + 0xee], 0
jne 0x1000b6ac
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1000a4f0
inc esi
cmp esi, 2
jl 0x1000b684
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 0x4c], 0
je 0x1000b6e6
mov ecx, dword [ebx + 0x4ed8]
cmp ecx, 0xffffffff
je 0x1000b6e6
push dword [ebx + 0xe0c]
movss xmm0, dword [ebx + 0x3a2c]
push dword [ebx + 0xe08]
sub esp, 8
call fcn.10005d80
add esp, 0x10
mov dword [ebx + 0xac], 0
mov dword [ebx + 0xa8], 0
mov ecx, dword [ebx + 0x4b44]
mov eax, dword [ebx + 0x4b3c]
mov dword [esp + 0x20], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x1000b8db
nop dword [eax]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov esi, dword [eax + 0xb8]
mov eax, dword [eax + 0xbc]
mov ebx, dword [esi]
mov edi, dword [eax]
mov ecx, dword [esi + 4]
add edi, ebx
mov dword [esp + 0x1c], ebx
cmp edi, ecx
jle 0x1000b79f
test ecx, ecx
je 0x1000b752
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000b757
mov eax, 8
cmp eax, edi
mov ebx, edi
cmovg ebx, eax
cmp ebx, ecx
jle 0x1000b79b
lea ecx, [ebx*4]
call fcn.100082b0
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1000b795
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
call fcn.10008350
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], eax
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [esi], edi
mov esi, dword [ecx + 0xbc]
mov eax, dword [esi]
test eax, eax
je 0x1000b821
shl eax, 2
push eax
mov eax, dword [ecx + 0xb8]
push dword [esi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + ebx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
jns 0x1000b81b
mov eax, ecx
xor edi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg edi, eax
cmp edi, ecx
jle 0x1000b81b
lea ecx, [edi*4]
call fcn.100082b0
mov ebx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000b815
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esi + 8]
add esp, 0xc
call fcn.10008350
mov dword [esi + 8], ebx
mov dword [esi + 4], edi
mov dword [esi], 0
mov ebx, dword [esp + 0x18]
cmp dword [ebx + 0x7c], 0
je 0x1000b854
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.100083c0
mov edx, dword [ebx + 0xb8]
lea ecx, [ebx + 0x80]
add esp, 4
push eax
call fcn.10032e10
add esp, 4
mov edi, dword [ebx + 0x98]
mov eax, dword [ebx + 0x90]
lea eax, [edi + eax*4]
mov dword [esp + 0x2c], eax
cmp edi, eax
je 0x1000b8a6
mov ebx, eax
nop dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
jle 0x1000b89b
lea ecx, [eax + eax*4]
shl ecx, 3
nop
mov edx, dword [esi + 8]
cmp dword [ecx + edx - 0xc], 0
jne 0x1000b89b
cmp dword [ecx + edx - 8], 0
jne 0x1000b89b
dec eax
sub ecx, 0x28
mov dword [esi], eax
test eax, eax
jg 0x1000b880
add edi, 4
cmp edi, ebx
jne 0x1000b870
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx + 0x8c]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add dword [ebx + 0xa8], eax
mov eax, dword [ecx + 0x88]
mov ecx, dword [esp + 0x20]
add dword [ebx + 0xac], eax
add ecx, 4
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x24]
jne 0x1000b720
mov eax, dword [ebx + 0x5f64]
mov esi, dword [ebx + 0x5f6c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000b908
cmp dword [esi + 4], 5
jne 0x1000b901
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b8f1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret