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

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [0x100b7d54]
push esi
push edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebp + 0x11cc]
cmp eax, dword [ebp + 0x11c8]
je 0x1001ef14
call fcn.1001ebd0
mov eax, dword [ebp + 0x11c8]
cmp dword [ebp + 0x11d0], eax
je 0x1001f2aa
mov dword [ebp + 0x11d0], eax
mov dword [ebp + 0xa8], 0
mov eax, dword [ebp + 0x30ac]
mov esi, dword [ebp + 0x30b4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1001ef67
nop dword [eax]
cmp dword [esi + 4], 4
jne 0x1001ef60
mov eax, dword [esi + 0xc]
push esi
push ebp
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1001ef50
call fcn.1001e8e0
mov edi, dword [ebp + 0x1cec]
mov eax, dword [ebp + 0x1ce4]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x1001f01f
mov ebp, eax
mov ebx, dword [edi]
mov esi, dword [0x100b7d54]
push 0
lea ecx, [ebx + 0x4c]
lea eax, [ebx + 0x7c]
mov dword [ebx + 0x74], ecx
mov dword [ebx + 0x78], eax
call fcn.1002e530
mov ecx, dword [ebx + 0x78]
push 0
call fcn.1002e530
mov byte [ebx + 0x3c], 1
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], ecx
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x6c], ecx
mov dword [ebx + 0x70], ebx
cmp dword [ebx + 0x34], 0
je 0x1001f010
push str.Background
xor edx, edx
mov ecx, ebx
call fcn.1001cde0
mov edx, dword [ebx + 0x74]
lea ecx, [ebx + 0x3c]
add esp, 4
push eax
call fcn.10039410
add esp, 4
add edi, 4
cmp edi, ebp
jne 0x1001ef85
mov ebp, dword [esp + 0x10]
mov eax, dword [ebp + 0x1eb8]
test eax, eax
je 0x1001f044
test dword [eax + 0xc], 0x2000
jne 0x1001f044
mov edi, dword [eax + 0x30c]
mov ebx, dword [ebp + 0x1ec0]
mov dword [esp + 0x1c], edi
jmp 0x1001f058
xor edi, edi
mov dword [esp + 0x1c], edi
test eax, eax
je 0x1001f056
mov ebx, dword [ebp + 0x1ec0]
jmp 0x1001f058
xor ebx, ebx
mov esi, dword [ebp + 0x1208]
mov eax, dword [ebp + 0x1200]
mov dword [esp + 0x20], ebx
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
cmp esi, eax
je 0x1001f0b0
mov ecx, dword [esi]
cmp byte [ecx + 0xae], 0
je 0x1001f0a9
cmp byte [ecx + 0xb5], 0
jne 0x1001f0a9
mov edx, dword [ecx + 0xc]
test edx, 0x1000000
jne 0x1001f0a9
cmp ecx, edi
je 0x1001f0a9
cmp ecx, ebx
je 0x1001f0a9
shr edx, 0x19
and edx, 1
call fcn.1001e480
mov eax, dword [esp + 0x14]
add esi, 4
cmp esi, eax
jne 0x1001f073
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x1c]
test ecx, ecx
je 0x1001f0da
cmp byte [ecx + 0xae], 0
je 0x1001f0da
cmp byte [ecx + 0xb5], 0
jne 0x1001f0da
mov edx, dword [ecx + 0xc]
shr edx, 0x19
and edx, 1
call fcn.1001e480
inc esi
cmp esi, 2
jl 0x1001f0b2
cmp byte [ebp + 0x44], 0
je 0x1001f110
mov ecx, dword [ebp + 0x203c]
cmp ecx, 0xffffffff
je 0x1001f110
push dword [ebp + 0xc0]
movss xmm0, dword [ebp + 0xc3c]
push dword [ebp + 0xbc]
sub esp, 8
call fcn.1001b780
add esp, 0x10
mov dword [ebp + 0xa4], 0
mov dword [ebp + 0xa0], 0
mov ecx, dword [ebp + 0x1cec]
mov eax, dword [ebp + 0x1ce4]
mov dword [esp + 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
cmp ecx, eax
je 0x1001f27d
mov ebx, dword [ecx]
mov dword [esp + 0x18], ebx
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x74]
mov eax, dword [eax]
mov edi, dword [ecx]
add eax, edi
push eax
call fcn.1002e530
mov esi, dword [ebx + 0x78]
mov eax, dword [esi]
test eax, eax
je 0x1001f1e0
shl eax, 2
push eax
mov eax, dword [ebx + 0x74]
push dword [esi + 8]
mov eax, dword [eax + 8]
lea eax, [eax + edi*4]
push eax
call fcn.100560d0
mov ecx, dword [esi + 4]
add esp, 0xc
test ecx, ecx
jns 0x1001f1da
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 0x1001f1da
lea eax, [edi*4]
push eax
call fcn.10058203
mov ebx, eax
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1001f1d0
mov ecx, dword [esi]
shl ecx, 2
push ecx
push eax
push ebx
call fcn.100560d0
add esp, 0xc
push dword [esi + 8]
call fcn.10057e7b
add esp, 4
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 4], edi
mov dword [esi], 0
cmp dword [ebx + 0x38], 0
je 0x1001f209
push str.Foreground
mov edx, 1
mov ecx, ebx
call fcn.1001cde0
mov edx, dword [ebx + 0x74]
lea ecx, [ebx + 0x3c]
add esp, 4
push eax
call fcn.10039410
add esp, 4
mov edi, dword [ebx + 0x54]
mov eax, dword [ebx + 0x4c]
lea eax, [edi + eax*4]
mov dword [esp + 0x18], eax
cmp edi, eax
je 0x1001f256
mov ebp, eax
nop dword [eax]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
jle 0x1001f24b
lea ecx, [eax + eax*4]
shl ecx, 3
nop
mov edx, dword [esi + 8]
cmp dword [ecx + edx - 0xc], 0
jne 0x1001f24b
cmp dword [ecx + edx - 8], 0
jne 0x1001f24b
dec eax
sub ecx, 0x28
mov dword [esi], eax
test eax, eax
jg 0x1001f230
add edi, 4
cmp edi, ebp
jne 0x1001f220
mov ebp, dword [esp + 0x10]
mov eax, dword [ebx + 0x48]
mov ecx, dword [esp + 0x14]
add dword [ebp + 0xa0], eax
add ecx, 4
mov eax, dword [ebx + 0x44]
add dword [ebp + 0xa4], eax
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x1c]
jne 0x1001f143
mov eax, dword [ebp + 0x30ac]
mov esi, dword [ebp + 0x30b4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x1001f2aa
cmp dword [esi + 4], 5
jne 0x1001f2a3
mov eax, dword [esi + 0xc]
push esi
push ebp
call eax
add esp, 8
add esi, 0x14
cmp esi, edi
jne 0x1001f293
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret