Function at 0x4bda50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x5bd344]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
push edi
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x72c], 0
mov byte [esi + 0x740], 0
je 0x4bda9e
push dword [esi + 0x72c]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x72c], 0
cmp byte [esi + 0x6ad], 0
je 0x4bdb61
cmp dword [esi + 0x774], 0
jne 0x4bdb61
test edi, edi
je 0x4bdb61
movsx eax, byte [esi + 0x69c]
push eax
push edi
call fcn.00584ce0
add esp, 8
test eax, eax
jne 0x4bdb61
movsx eax, byte [esi + 0x69d]
push eax
push edi
call fcn.00584ce0
mov edx, eax
add esp, 8
test edx, edx
je 0x4bdaf4
sub edx, edi
jmp 0x4bdb09
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4bdb00
sub edx, ecx
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
add ecx, ecx
cmp byte [esi + 0x6ac], 0
mov eax, dword [eax + ecx*8]
je 0x4bdb2b
mov ecx, dword [esp + 0x1c]
sub eax, ecx
jmp 0x4bdb35
add edi, dword [esp + 0x1c]
sub edx, dword [esp + 0x1c]
xor ecx, ecx
push edx
push edi
push ecx
push eax
mov ecx, esi
call fcn.004bd850
lea ecx, [esi + 0x668]
call fcn.004c14e0
pop edi
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
shl ecx, 4
push dword [ecx + eax + 4]
push dword [ecx + eax]
lea eax, [esp + 0x28]
push ecx
push eax
mov ecx, esi
call fcn.004c41d0
mov eax, dword [esi + 0x2a8]
test eax, eax
je 0x4bdb9f
cmp dword [eax + 0x1f0], 0xfde9
mov byte [esp + 0x14], 1
je 0x4bdba4
mov byte [esp + 0x14], 0
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
add ecx, ecx
cmp byte [esi + 0x668], 0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x460]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x314]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x668]
je 0x4bdc1c
mov ecx, dword [eax + 0x48]
cmp dword [ecx + 4], 0
je 0x4bdc1c
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x6b0]
lea eax, [esi + 0x668]
mov dword [esp + 0x38], ecx
mov edx, dword [ecx + 4]
test edx, edx
je 0x4bdc12
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esp + 0x38]
lea eax, [esi + 0x668]
mov dword [ecx + 4], 0
mov byte [eax], 0
push dword [esp + 0x18]
mov ecx, dword [eax + 0x48]
lea eax, [esi + 0x2b0]
push dword [esp + 0x18]
push dword [esp + 0x18]
mov edx, dword [ecx]
push dword [esp + 0x30]
push dword [esp + 0x30]
push 2
push eax
call dword [edx + 8]
mov ecx, dword [esi + 0x6b0]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x6b8], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x6b4], ecx
lea ecx, [esp + 0x6c]
mov byte [esi + 0x668], 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 0
mov eax, dword [ecx + eax]
sub eax, dword [esp + 0x20]
push eax
push ecx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004c41d0
lea eax, [esp + 0x7c]
push eax
push dword [esi + 0x2b4]
call dword [sym.imp.USER32.dll_GetWindowRect]
movd xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x20]
movd xmm2, dword [esp + 0x80]
cvtdq2ps xmm0, xmm0
push 2
cvtdq2ps xmm2, xmm2
addss xmm0, xmm1
movss dword [esp + 0x10], xmm1
movss xmm1, dword [esp + 0x28]
movss dword [esp + 0x14], xmm1
cvttss2si ecx, xmm0
movaps xmm0, xmm2
addss xmm0, xmm1
cvttss2si eax, xmm0
push eax
push ecx
call dword [sym.imp.USER32.dll_MonitorFromPoint]
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call fcn.0049ccd0
add esp, 4
xorps xmm3, xmm3
movups xmm0, xmmword [eax]
movd ecx, xmm0
movaps xmmword [esp + 0x50], xmm0
psrldq xmm0, 8
movd eax, xmm0
cmp ecx, eax
jge 0x4bdd47
movd xmm2, dword [esp + 0x54]
movd xmm0, dword [esp + 0x80]
movd xmm1, dword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
subss xmm2, xmm0
subss xmm1, xmm0
jmp 0x4bdd4d
xorps xmm2, xmm2
xorps xmm1, xmm1
movaps xmm0, xmm1
movss dword [esp + 0x18], xmm1
subss xmm0, xmm2
movss dword [esp + 0x14], xmm2
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x4bdd81
movss xmm0, dword [esp + 0x70]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x18], xmm0
mov eax, dword [esi + 0x6c8]
movss xmm1, dword [esp + 0x74]
movss xmm2, dword [esp + 0x20]
movaps xmm0, xmm1
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x6c4]
mov dword [esp + 0x38], eax
movd xmm3, eax
cvtdq2ps xmm3, xmm3
subss xmm0, xmm3
comiss xmm2, xmm0
jb 0x4bde59
mov edx, dword [esi + 8]
xor ecx, ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, xmm2
subss xmm0, xmm1
addss xmm0, xmm3
cvttss2si eax, xmm0
test eax, eax
cmovns ecx, eax
cmp dword [esi + 0x44c], 0
jne 0x4bde17
cmp edx, ecx
je 0x4bde17
mov eax, dword [esi]
or dword [esi + 0x5d0], 8
mov dword [esi + 8], ecx
mov ecx, esi
call dword [eax + 0x44]
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [esi + 0x260]
mov eax, dword [esi + 0x238]
shl ecx, 4
push dword [ecx + eax + 4]
push dword [ecx + eax]
lea eax, [esp + 0x28]
push ecx
push eax
mov ecx, esi
call fcn.004c41d0
movss xmm0, dword [esp + 0x20]
movss xmm1, dword [esp + 0x24]
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x10], xmm1
cmp dword [esi + 0x2c0], 0
je 0x4bde92
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 8]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [esp + 0x24]
movss dword [esp + 0x10], xmm0
mov ecx, dword [esi + 0x6b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esp + 0x3c]
movss xmm5, dword [esp + 0xc]
movss xmm2, dword [esp + 0x18]
movss xmm1, dword [esp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movd xmm6, edx
cvtdq2ps xmm6, xmm6
subss xmm5, xmm0
movaps xmm0, xmm2
subss xmm0, xmm6
movss dword [esp + 0x20], xmm5
comiss xmm1, xmm0
jb 0x4bdf17
movss xmm4, dword [esp + 0x14]
movaps xmm0, xmm2
addss xmm0, xmm4
mulss xmm0, dword [0x44dd18]
comiss xmm1, xmm0
jb 0x4bdf17
movaps xmm3, xmm1
subss xmm3, xmm6
comiss xmm4, xmm3
movss dword [esp + 0x24], xmm3
jbe 0x4bdf2c
movaps xmm0, xmm4
subss xmm0, xmm3
movaps xmm3, xmm4
cvttss2si eax, xmm0
sub edx, eax
jmp 0x4bdf26
movd xmm3, dword [esi + 0x314]
cvtdq2ps xmm3, xmm3
addss xmm3, xmm1
movss dword [esp + 0x24], xmm3
movd xmm0, dword [esp + 0x38]
cvttss2si eax, xmm3
cvttss2si ecx, xmm2
add eax, edx
cvtdq2ps xmm0, xmm0
cmp ecx, eax
cmovge ecx, eax
sub esp, 0x10
mov eax, esp
sub esp, 0xc
addss xmm0, xmm5
movss dword [esp + 0x44], xmm0
movd xmm0, ecx
mov ecx, esp
cvtdq2ps xmm0, xmm0
mov dword [ecx], 0x44944c
movss dword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x3c]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x2b4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov ecx, dword [esi + 0x6b0]
call fcn.0049cd70
mov ecx, dword [esi + 0x6b0]
mov eax, dword [esi + 0x2e0]
add eax, 0x9c4
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esi + 0x2e0]
movss xmm0, dword [eax + 0x9a4]
call fcn.0057f720
mov ecx, dword [esi + 0x6b0]
push eax
mov dword [esp + 0x40], eax
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ecx, dword [esi + 0x6b0]
push esi
push 0x4bd830
mov edx, dword [ecx]
call dword [edx + 0x48]
test edi, edi
lea ecx, [esi + 0x668]
mov eax, 0x41695d
cmovne eax, edi
push eax
call fcn.004c1090
mov ecx, dword [esi + 0x6b0]
lea edx, [esp + 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x40]
mov dword [esp + 0x20], eax
cvttss2si eax, xmm0
cmp edi, eax
cmovl edi, eax
mov eax, dword [esi + 0x778]
test eax, eax
je 0x4be042
imul eax, dword [esp + 0x3c]
cmp eax, edi
cmovge eax, edi
mov edi, eax
mov ecx, dword [esi + 0x6b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movss xmm1, dword [esp + 0xc]
movd xmm3, dword [esp + 0x20]
movss xmm2, dword [esp + 0x18]
movd xmm0, eax
mov eax, dword [esi + 0x314]
cvtdq2ps xmm0, xmm0
movd xmm4, eax
subss xmm1, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm4, xmm4
addss xmm0, xmm1
movss dword [esp + 0x40], xmm1
movss xmm1, dword [esp + 0x10]
cvtdq2ps xmm3, xmm3
movss dword [esp + 0x48], xmm0
addss xmm4, xmm1
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm4, xmm0
jb 0x4be0d2
addss xmm2, dword [esp + 0x14]
cdq
sub eax, edx
sar eax, 1
mulss xmm2, dword [0x44dd18]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x4be0d2
subss xmm1, xmm3
jmp 0x4be0d5
movaps xmm1, xmm4
addss xmm3, xmm1
movss dword [esp + 0x44], xmm1
sub esp, 0x10
mov eax, esp
sub esp, 0xc
mov ecx, esp
movss dword [esp + 0x68], xmm3
movups xmm0, xmmword [esp + 0x5c]
mov dword [ecx], 0x44944c
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x2b4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov ecx, dword [esi + 0x6b0]
call fcn.0049cd70
mov eax, dword [esi + 0x6b0]
push 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x6b0]
push 0
mov eax, dword [ecx]
call dword [eax + 0x2c]
cmp dword [esp + 0x1c], 0
je 0x4be144
mov ecx, esi
call fcn.004be230
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
xor ecx, esp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret 8