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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, dword [0x100a79b0]
push esi
push edi
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0x3fe0]
cmp dword [ebx + 0x3fe4], eax
je 0x1000b16f
call fcn.1000ad00
mov eax, dword [ebx + 0x3fe0]
cmp dword [ebx + 0x3fec], eax
je 0x1000b6a8
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 0x1000b1b8
cmp dword [esi + 4], 4
jne 0x1000b1b1
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b1a1
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 0x1000b388
nop word [eax + eax]
mov esi, dword [ecx]
mov eax, dword [0x100a79b0]
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 0x1000b265
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 0x1000b265
lea ecx, [edx*4]
call fcn.10008050
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1000b25b
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.100080f0
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 0x1000b2cd
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 0x1000b2cd
lea ecx, [edx*4]
call fcn.10008050
mov edx, dword [ebx + 8]
mov dword [esp + 0x20], eax
test edx, edx
je 0x1000b2c3
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.100080f0
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 0x1000b317
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
jmp 0x1000b329
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 0x1000b36f
push str.Background
xor edx, edx
mov ecx, esi
call fcn.10008160
mov edx, dword [esi + 0xb8]
add esp, 4
mov ecx, edi
push eax
call fcn.10032bb0
add esp, 4
mov ecx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x2c]
jne 0x1000b1e0
mov ebx, dword [esp + 0x14]
call fcn.1000a7b0
mov eax, dword [ebx + 0x4d58]
test eax, eax
je 0x1000b3b2
test dword [eax + 0xc], 0x2000
jne 0x1000b3b2
mov edi, dword [eax + 0x350]
mov ebx, dword [ebx + 0x4d60]
mov dword [esp + 0x24], edi
jmp 0x1000b3c6
xor edi, edi
mov dword [esp + 0x24], edi
test eax, eax
je 0x1000b3c4
mov ebx, dword [ebx + 0x4d60]
jmp 0x1000b3c6
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 0x1000b422
mov ecx, dword [esi]
cmp byte [ecx + 0xe7], 0
je 0x1000b41b
cmp byte [ecx + 0xee], 0
jne 0x1000b41b
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1000b41b
cmp ecx, edi
je 0x1000b41b
cmp ecx, ebx
je 0x1000b41b
shr edx, 0x19
and edx, 1
call fcn.1000a290
mov eax, dword [esp + 0x2c]
add esi, 4
cmp esi, eax
jne 0x1000b3e5
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x24]
test ecx, ecx
je 0x1000b44c
cmp byte [ecx + 0xe7], 0
je 0x1000b44c
cmp byte [ecx + 0xee], 0
jne 0x1000b44c
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1000a290
inc esi
cmp esi, 2
jl 0x1000b424
mov ebx, dword [esp + 0x14]
cmp byte [ebx + 0x4c], 0
je 0x1000b486
mov ecx, dword [ebx + 0x4ed8]
cmp ecx, 0xffffffff
je 0x1000b486
push dword [ebx + 0xe0c]
movss xmm0, dword [ebx + 0x3a2c]
push dword [ebx + 0xe08]
sub esp, 8
call fcn.10005b20
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 0x1000b67b
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 0x1000b53f
test ecx, ecx
je 0x1000b4f2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1000b4f7
mov eax, 8
cmp eax, edi
mov ebx, edi
cmovg ebx, eax
cmp ebx, ecx
jle 0x1000b53b
lea ecx, [ebx*4]
call fcn.10008050
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1000b535
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.100080f0
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 0x1000b5c1
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 0x1000b5bb
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 0x1000b5bb
lea ecx, [edi*4]
call fcn.10008050
mov ebx, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1000b5b5
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.100080f0
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 0x1000b5f4
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.10008160
mov edx, dword [ebx + 0xb8]
lea ecx, [ebx + 0x80]
add esp, 4
push eax
call fcn.10032bb0
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 0x1000b646
mov ebx, eax
nop dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
jle 0x1000b63b
lea ecx, [eax + eax*4]
shl ecx, 3
nop
mov edx, dword [esi + 8]
cmp dword [ecx + edx - 0xc], 0
jne 0x1000b63b
cmp dword [ecx + edx - 8], 0
jne 0x1000b63b
dec eax
sub ecx, 0x28
mov dword [esi], eax
test eax, eax
jg 0x1000b620
add edi, 4
cmp edi, ebx
jne 0x1000b610
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 0x1000b4c0
mov eax, dword [ebx + 0x5f64]
mov esi, dword [ebx + 0x5f6c]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1000b6a8
cmp dword [esi + 4], 5
jne 0x1000b6a1
mov eax, dword [esi + 0xc]
push esi
push ebx
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1000b691
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret