Function at 0x4289ab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x6ec]
call fcn.0042832b
xor edi, edi
cmp byte [esi + 0x6c9], 0
je 0x428a6f
cmp dword [esi + 0x790], edi
jne 0x428a6f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x428a6d
movsx eax, byte [esi + 0x6b8]
push eax
push edi
call fcn.004590e0
pop ecx
pop ecx
test eax, eax
jne 0x428a6d
movsx eax, byte [esi + 0x6b9]
push eax
push edi
call fcn.004590e0
mov edx, eax
pop ecx
pop ecx
test edx, edx
je 0x428a1b
sub edx, edi
jmp 0x428a29
mov edx, edi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x428a20
sub edx, ecx
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
add ecx, ecx
cmp byte [esi + 0x6c8], 0
mov ecx, dword [eax + ecx*8]
je 0x428a4a
mov eax, dword [ebp + 8]
sub ecx, eax
jmp 0x428a52
add edi, dword [ebp + 8]
sub edx, dword [ebp + 8]
xor eax, eax
push edx
push edi
push eax
push ecx
mov ecx, esi
call fcn.0042882f
lea ecx, [esi + 0x684]
call fcn.0042abe6
jmp 0x428ef0
xor edi, edi
lea eax, [esi + 0x684]
mov ecx, esi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x38]
push eax
call fcn.0042de13
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x450]
mov dword [esp + 0x28], ecx
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00438bbc
mov ecx, dword [esi + 0x260]
mov byte [esp + 0xc], al
add ecx, ecx
mov eax, dword [esi + 0x304]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x238]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x30], eax
lea eax, [esi + 0x684]
cmp byte [eax], 0
je 0x428ade
mov ecx, eax
call fcn.0042abe6
lea eax, [esi + 0x684]
push dword [esp + 0x10]
mov ecx, dword [eax + 0x48]
lea edx, [esi + 0x2a0]
push dword [esp + 0x10]
mov dword [esp + 0x20], edx
push dword [esp + 0x24]
mov eax, dword [ecx]
push dword [esp + 0x2c]
push dword [esp + 0x38]
push 2
push edx
call dword [eax + 8]
mov ecx, dword [esi + 0x6cc]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x684]
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x4c], ecx
lea ecx, [esp + 0x68]
mov byte [eax], 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
shl ecx, 4
push edi
mov eax, dword [ecx + eax]
sub eax, dword [ebp + 8]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.0042c463
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push dword [esp + 0x24]
lea ecx, [esi + 0x2a0]
push eax
call fcn.004105b4
movss xmm3, dword [esp + 0x64]
subss xmm3, dword [esp + 0x5c]
ucomiss xmm3, dword [0x487bc4]
lahf
test ah, 0x44
jp 0x428b99
lea esi, [esp + 0x68]
lea edi, [esp + 0x58]
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 [esp + 0x14]
mov edi, dword [esi + 0x6e0]
movss xmm0, dword [esp + 0x70]
movss xmm1, dword [esp + 0x20]
mov eax, dword [esi + 0x6e4]
movd xmm2, edi
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
movss dword [esp + 0xc], xmm1
subss xmm0, xmm2
comiss xmm1, xmm0
jb 0x428c15
movd xmm0, dword [esi + 8]
mov ecx, esi
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
subss xmm0, dword [esp + 0x70]
addss xmm0, xmm2
cvttss2si eax, xmm0
push eax
call fcn.0042df20
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.0042de13
movss xmm0, dword [eax]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 4]
jmp 0x428c1b
movss xmm0, dword [esp + 0x24]
cmp dword [esi + 0x2b0], 0
movss dword [esp + 0x10], xmm0
je 0x428c59
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov eax, dword [eax + 8]
call eax
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
addss xmm0, dword [esp + 0xc]
addss xmm1, dword [esp + 0x10]
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm1
mov ecx, dword [esi + 0x6cc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, dword [esp + 0x30]
movss xmm5, dword [esp + 0xc]
movss xmm4, dword [esp + 0x64]
movss xmm1, dword [esp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movd xmm6, edx
cvtdq2ps xmm6, xmm6
subss xmm5, xmm0
movaps xmm0, xmm4
subss xmm0, xmm6
movss dword [esp + 0x38], xmm5
comiss xmm1, xmm0
jb 0x428cdc
movss xmm3, dword [esp + 0x5c]
movaps xmm0, xmm3
addss xmm0, xmm4
mulss xmm0, dword [0x487bcc]
comiss xmm1, xmm0
jb 0x428cdc
movaps xmm2, xmm1
subss xmm2, xmm6
comiss xmm3, xmm2
movss dword [esp + 0x3c], xmm2
jbe 0x428cf1
movaps xmm0, xmm3
subss xmm0, xmm2
movaps xmm2, xmm3
cvttss2si eax, xmm0
sub edx, eax
jmp 0x428ceb
movd xmm2, dword [esi + 0x304]
cvtdq2ps xmm2, xmm2
addss xmm2, xmm1
movss dword [esp + 0x3c], xmm2
cvttss2si ecx, xmm4
lea esi, [esp + 0x38]
cvttss2si eax, xmm2
movd xmm0, edi
add eax, edx
cvtdq2ps xmm0, xmm0
cmp ecx, eax
cmovl eax, ecx
sub esp, 0x10
mov edi, esp
addss xmm5, xmm0
movd xmm0, eax
push dword [esp + 0x28]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x58], xmm0
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 [esp + 0x28]
mov ecx, dword [esi + 0x6cc]
call fcn.00410162
mov ecx, dword [esi + 0x6cc]
mov eax, dword [esi + 0x2d0]
add eax, 0x9c4
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 0x2d0]
movss xmm0, dword [eax + 0x9a4]
call fcn.00473b20
mov ecx, dword [esi + 0x6cc]
push eax
mov dword [esp + 0x34], eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [esi + 0x6cc]
mov edx, esi
add edx, 0x678
neg esi
sbb esi, esi
mov edi, dword [ecx]
and esi, edx
push esi
call dword [edi + 0x48]
mov edx, dword [ebp + 0xc]
mov eax, 0x48140c
mov ecx, dword [esp + 0x34]
test edx, edx
cmovne eax, edx
push eax
call fcn.0042a81f
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x48]
push edx
mov ecx, dword [esi + 0x6cc]
mov eax, dword [ecx]
call dword [eax + 0x18]
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x794]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, dword [esp + 0x48]
mov dword [esp + 0x34], eax
cvttss2si eax, xmm0
cmp edi, eax
cmovl edi, eax
test ecx, ecx
je 0x428e00
mov eax, dword [esp + 0x30]
imul eax, ecx
cmp eax, edi
cmovl edi, eax
mov ecx, dword [esi + 0x6cc]
mov eax, dword [ecx]
call dword [eax + 0x1c]
movss xmm1, dword [esp + 0xc]
movd xmm5, dword [esp + 0x34]
movss xmm3, dword [esp + 0x64]
movd xmm0, eax
mov eax, dword [esi + 0x304]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
subss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
addss xmm0, xmm1
movss dword [esp + 0x48], xmm1
movss xmm1, dword [esp + 0x10]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x50], xmm0
addss xmm4, xmm1
movaps xmm0, xmm3
subss xmm0, xmm5
comiss xmm4, xmm0
jb 0x428e92
movss xmm2, dword [esp + 0x5c]
cdq
addss xmm2, xmm3
sub eax, edx
sar eax, 1
mulss xmm2, dword [0x487bcc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x428e92
subss xmm1, xmm5
jmp 0x428e95
movaps xmm1, xmm4
movss dword [esp + 0x4c], xmm1
lea esi, [esp + 0x48]
sub esp, 0x10
addss xmm1, xmm5
mov edi, esp
push dword [esp + 0x28]
movss dword [esp + 0x68], xmm1
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 [esp + 0x28]
mov ecx, dword [esi + 0x6cc]
call fcn.00410162
mov eax, dword [esi + 0x6cc]
push 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x6cc]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [ebp + 8], 0
je 0x428ef0
mov ecx, esi
call fcn.00428f97
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8