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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10086040]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [0x10087578]
push esi
push edi
mov dword [esp + 0x28], ebx
mov eax, dword [ebx + 0x3dfc]
cmp eax, dword [ebx + 0x3df8]
je 0x10008b64
call fcn.100087b0
mov eax, dword [ebx + 0x3e00]
mov edx, 4
mov dword [esp + 0x20], eax
mov ecx, ebx
mov eax, dword [ebx + 0x3df8]
mov dword [esp + 0x14], eax
mov dword [ebx + 0x3e00], eax
mov dword [ebx + 0xa4], 0
call fcn.10005880
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x47f0], ecx
je 0x10008cc1
nop word [eax + eax]
mov eax, dword [ebx + 0x47f8]
mov esi, dword [0x10087578]
push 0
mov edi, dword [eax + ecx*4]
lea ecx, [edi + 0x48]
lea eax, [edi + 0x78]
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
call fcn.10018b10
mov ecx, dword [edi + 0x74]
push 0
call fcn.10018b10
mov byte [edi + 0x38], 1
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], ecx
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ecx
mov dword [edi + 0x6c], edi
cmp dword [edi + 0x30], 0
je 0x10008cac
push str.Background
xor edx, edx
mov ecx, edi
call fcn.10006640
mov esi, dword [edi + 0x70]
mov edx, eax
add esp, 4
mov dword [esp + 0x18], edx
mov eax, dword [edx]
test eax, eax
je 0x10008cac
cmp eax, 1
jne 0x10008c5a
mov eax, dword [edx + 8]
cmp dword [eax + 0x1c], 0
jne 0x10008c5a
cmp dword [eax + 0x20], 0
je 0x10008cac
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, ecx
jne 0x10008c93
lea edx, [eax + 1]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x10008c7d
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add eax, ecx
jmp 0x10008c82
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10018880
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edx
inc dword [esi]
inc dword [edi + 0x3c]
mov eax, dword [edx + 0x18]
add dword [edi + 0x44], eax
mov eax, dword [edx + 0xc]
add dword [edi + 0x40], eax
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x47f0]
jne 0x10008bb0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
je 0x10008cd0
call fcn.10008410
mov eax, dword [ebx + 0x496c]
test eax, eax
je 0x10008cf5
test dword [eax + 0xc], 0x2000
jne 0x10008cf5
mov edi, dword [eax + 0x308]
mov eax, dword [ebx + 0x4974]
mov dword [esp + 0x18], edi
jmp 0x10008d09
xor edi, edi
mov dword [esp + 0x18], edi
test eax, eax
je 0x10008d07
mov eax, dword [ebx + 0x4974]
jmp 0x10008d09
xor eax, eax
xor esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x3e30], esi
je 0x10008d64
nop dword [eax + eax]
mov eax, dword [ebx + 0x3e38]
mov ecx, dword [eax + esi*4]
cmp byte [ecx + 0xaa], 0
je 0x10008d5b
cmp byte [ecx + 0xb1], 0
jne 0x10008d5b
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x10008d5b
cmp ecx, edi
je 0x10008d5b
cmp ecx, dword [esp + 0x10]
je 0x10008d5b
shr edx, 0x19
and edx, 1
call fcn.100080a0
inc esi
cmp esi, dword [ebx + 0x3e30]
jne 0x10008d20
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x18]
test ecx, ecx
je 0x10008d8e
cmp byte [ecx + 0xaa], 0
je 0x10008d8e
cmp byte [ecx + 0xb1], 0
jne 0x10008d8e
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.100080a0
inc esi
cmp esi, 2
jl 0x10008d66
cmp byte [ebx + 0x44], 0
je 0x10008dce
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
je 0x10008dce
mov ecx, dword [ebx + 0x4ad8]
cmp ecx, 0xffffffff
je 0x10008dce
push dword [ebx + 0xdbc]
movss xmm0, dword [ebx + 0x384c]
push dword [ebx + 0xdb8]
sub esp, 8
call fcn.10004fe0
add esp, 0x10
xor ecx, ecx
mov dword [ebx + 0xa0], 0
mov dword [ebx + 0x9c], 0
mov dword [esp + 0x14], ecx
cmp dword [ebx + 0x47f0], ecx
jle 0x10008f2e
mov eax, dword [ebx + 0x47f8]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
mov eax, dword [eax]
mov ebx, dword [ecx]
add eax, ebx
push eax
call fcn.10018b10
mov esi, dword [edi + 0x74]
mov eax, dword [esi]
test eax, eax
je 0x10008e3a
shl eax, 2
push eax
mov eax, dword [edi + 0x70]
push dword [esi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + ebx*4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, esi
push 0
call fcn.10018b10
cmp dword [edi + 0x34], 0
je 0x10008ec3
push str.Foreground
mov edx, 1
mov ecx, edi
call fcn.10006640
mov esi, dword [edi + 0x70]
mov ebx, eax
add esp, 4
mov eax, dword [ebx]
test eax, eax
je 0x10008ec3
cmp eax, 1
jne 0x10008e77
mov eax, dword [ebx + 8]
cmp dword [eax + 0x1c], 0
jne 0x10008e77
cmp dword [eax + 0x20], 0
je 0x10008ec3
mov edx, dword [esi]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x10008eaa
inc edx
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x10008e98
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ecx
jmp 0x10008e9d
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10018880
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], ebx
inc dword [esi]
inc dword [edi + 0x3c]
mov eax, dword [ebx + 0x18]
add dword [edi + 0x44], eax
mov eax, dword [ebx + 0xc]
add dword [edi + 0x40], eax
xor ebx, ebx
cmp dword [edi + 0x48], ebx
jle 0x10008f03
nop word [eax + eax]
mov eax, dword [edi + 0x50]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi]
test eax, eax
jle 0x10008efd
lea ecx, [eax + eax*4]
shl ecx, 3
mov edx, dword [esi + 8]
cmp dword [ecx + edx - 0xc], 0
jne 0x10008efd
cmp dword [ecx + edx - 8], 0
jne 0x10008efd
dec eax
sub ecx, 0x28
mov dword [esi], eax
test eax, eax
jg 0x10008ee2
inc ebx
cmp ebx, dword [edi + 0x48]
jl 0x10008ed0
mov ebx, dword [esp + 0x28]
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
inc ecx
add dword [ebx + 0x9c], eax
mov eax, dword [edi + 0x40]
add dword [ebx + 0xa0], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [ebx + 0x47f0]
jl 0x10008df4
xor esi, esi
cmp dword [ebx + 0x5abc], esi
jle 0x10008f64
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x5ac4]
add eax, edi
cmp dword [eax + 4], 5
jne 0x10008f58
push eax
mov eax, dword [eax + 0xc]
push ebx
call eax
add esp, 8
inc esi
add edi, 0x14
cmp esi, dword [ebx + 0x5abc]
jl 0x10008f40
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10044743
mov esp, ebp
pop ebp
ret