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

Disassembly:
sub esp, 0x3c
push ebx
mov ebx, ecx
cmp byte [ebx + 4], 0
je 0x1002c9e8
push ebp
push esi
xor ebp, ebp
lea esi, [ebx + 0x20]
push ebp
mov ecx, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
call fcn.100266c1
mov eax, dword [eax]
test eax, eax
je 0x1002c673
push dword [eax + 4]
mov ecx, dword [ebx + 0x18]
call fcn.100291ad
push dword [ebx + 0x124]
mov ecx, ebx
mov dword [ebx + 0x58], eax
call fcn.1002bec2
push edi
mov edi, ebp
lea ebp, [ebx + 0x7c]
push edi
mov ecx, esi
call fcn.100266c1
movss xmm0, dword [esp + 0x54]
push ecx
push ecx
mov esi, dword [eax]
mov dword [esp + 4], 0x3f333333
movss dword [esp], xmm0
push 0
lea ecx, [esi + 0x1c]
call fcn.10027ea2
mov ecx, dword [ebx + 0x18]
push ebp
push esi
call fcn.10028a4d
inc edi
lea esi, [ebx + 0x20]
add ebp, 0x10
cmp edi, 9
jl 0x1002c679
lea eax, [esp + 0x18]
xor esi, esi
push eax
push esi
push dword [ebx + 0x130]
lea ebp, [ebx + 0x50]
mov ecx, ebp
call fcn.10027f6d
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
push esi
push dword [ebx + 0x124]
call fcn.10027f6d
mov edi, dword [ebx + 0x124]
mov eax, dword [ebx + 0x12c]
cmp edi, eax
je 0x1002c717
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
mov ecx, ebp
call fcn.10027f6d
mov edi, dword [ebx + 0x124]
mov eax, dword [ebx + 0x12c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x1002c721
mov edx, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x14], ecx
lea esi, [ebx + 0x6c]
cmp edi, eax
je 0x1002c779
push dword [ebx + 0x78]
cmp edx, ecx
mov eax, edx
cmovle eax, ecx
cmovle ecx, edx
push eax
push dword [ebx + 0x70]
lea eax, [esp + 0x38]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi]
sub eax, dword [esp + 0x18]
push 0
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x2c]
push eax
push esi
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
push dword [ebx + 0x13c]
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x30]
push eax
call fcn.1002886d
mov ecx, dword [ebx + 0x134]
mov eax, ecx
movss xmm1, dword [0x100d0cf8]
shr eax, 0x10
movzx eax, al
push 0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 0x20], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
movss dword [esp + 0x24], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movd xmm0, ecx
lea ecx, [ebx + 0x20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
call fcn.100266c1
lea esi, [esp + 0x1c]
push 0
lea ecx, [ebx + 0x20]
mov edi, dword [eax]
add edi, 0x5c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp]
call fcn.100266c1
mov ecx, dword [ebx + 0x18]
lea edi, [ebx + 0x6c]
push 1
push 0xffffffffffffffff
push 0
push edi
push dword [eax]
mov eax, dword [ebx + 0x130]
add eax, esi
push eax
call fcn.10028cc3
mov edx, dword [ebx + 0x124]
mov ecx, dword [ebx + 0x12c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], ecx
cmp edx, ecx
je 0x1002c90d
mov ebp, dword [ebx + 0x130]
mov eax, ecx
cmovle eax, edx
cmp ebp, eax
jg 0x1002c854
cmp ecx, edx
mov ebp, edx
cmovl ebp, ecx
mov ecx, dword [ebx + 0x138]
mov eax, ecx
movss xmm1, dword [0x100d0cf8]
shr eax, 0x10
movzx eax, al
push 0
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
movss dword [esp + 0x44], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x48], xmm0
movd xmm0, ecx
lea ecx, [ebx + 0x20]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.100266c1
lea esi, [esp + 0x3c]
push 0
lea ecx, [ebx + 0x20]
mov edi, dword [eax]
add edi, 0x5c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 0x50]
call fcn.100266c1
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x1c]
push 1
cmovle ecx, dword [esp + 0x20]
sub ecx, ebp
push ecx
push 0
lea ecx, [esp + 0x38]
push ecx
push dword [eax]
mov ecx, dword [ebx + 0x18]
lea eax, [esi + ebp]
push eax
call fcn.10028cc3
lea ebp, [ebx + 0x50]
lea edi, [ebx + 0x6c]
call fcn.1002e02a
mov ecx, eax
call fcn.1002e04f
fsub qword [ebx + 0x118]
fstp qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1c]
comisd xmm0, xmmword [ebx + 0x110]
jb 0x1002c955
cmp byte [ebx + 0x120], 0
sete al
mov byte [ebx + 0x120], al
call fcn.1002e02a
mov ecx, eax
call fcn.1002e04f
fstp qword [ebx + 0x118]
cmp byte [ebx + 6], 0
je 0x1002c9e5
cmp byte [ebx + 0x120], 0
je 0x1002c9e5
cmp byte [0x1011607c], 0
jne 0x1002c9e5
cmp byte [ebx + 4], 0
je 0x1002c9e5
cmp byte [ebx + 0x3c], 0
je 0x1002c9e5
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
sub edx, dword [esp + 0x18]
lea eax, [ecx - 1]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x20], eax
lea eax, [ecx + 1]
add eax, edx
cmp byte [ebx + 0x128], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x28], eax
jne 0x1002c9d2
lea eax, [esp + 0x54]
mov ecx, ebp
push eax
push 1
push dword [ebx + 0x124]
call fcn.10027f6d
mov eax, dword [edi]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
push dword [ebx + 0x140]
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.1002886d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8