Function at 0x419244
Capabilities:
Hide graphical window

Disassembly:
push 0xbc
mov eax, 0x446516
call fcn.00430c05
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], esi
mov eax, dword [esi + 0xe4]
mov dword [ebp - 0x84], eax
test eax, eax
je 0x419b52
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0xc0], ecx
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 0x20]
push 5
mov dword [ebp - 0xc8], eax
mov eax, dword [esi + 0x18]
push ebx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x90], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, eax
lea edi, [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x64], edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov ecx, edi
mov dword [ebp - 0xb0], edi
mov eax, edi
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xa8], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0xa0], eax
and dword [ebp - 0x94], edi
mov byte [ebp - 4], 1
test edx, edx
je 0x419402
mov esi, edi
push 0xfffffffffffffff4
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x78], eax
cmp eax, 0xffff
jne 0x419323
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x4193d4
cmp eax, 0x14
je 0x4193d4
push dword [ebp - 0x64]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040a099
mov ecx, eax
mov eax, dword [ebp - 0xb0]
mov byte [ebp - 4], 2
push ecx
cmp eax, dword [ebp - 0x98]
je 0x41935f
mov ecx, eax
call fcn.00414d8e
push 0x18
pop eax
add dword [ebp - 0xb0], eax
jmp 0x419377
push eax
lea ecx, [ebp - 0xb4]
call fcn.00414a1b
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00405d9c
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
cmp edi, esi
je 0x41939a
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0xa4], edi
jmp 0x4193b6
lea eax, [ebp - 0x60]
push eax
push edi
lea ecx, [ebp - 0xa8]
call fcn.0041783c
mov esi, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xa4]
push 0
push 1
push dword [ebp - 0x64]
call fcn.0040bb5a
mov ecx, dword [ebp - 0x94]
test eax, eax
cmovne ecx, dword [ebp - 0x78]
mov dword [ebp - 0x94], ecx
push dword [ebp - 0x64]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 5
push ebx
call dword [sym.imp.USER32.dll_GetWindow]
mov edx, eax
mov dword [ebp - 0x64], edx
test edx, edx
jne 0x4192fe
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x78], esi
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x7c], ecx
sub edi, dword [ebp - 0xa8]
sar edi, 2
mov eax, edi
mov dword [ebp - 0x9c], edi
shr eax, 0x1f
push ecx
movd xmm0, edi
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x4474c0]
mov dword [esp], 0x42a00000
cvtpd2ps xmm0, xmm0
movss dword [ebp - 0x64], xmm0
call fcn.0040e3f1
fmul dword [ebp - 0x64]
push ecx
mov dword [esp], 0x41200000
fstp dword [ebp - 0x60]
call fcn.0040e3f1
fmul dword [0x447b34]
push ecx
mov dword [esp], 0x40a00000
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x60]
call fcn.0040e3f1
fmul dword [ebp - 0x64]
mov esi, dword [esi + 0x7c]
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x70]
cvttss2si eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], eax
call fcn.00410c55
mov edi, dword [ebp - 0x3c]
sub edi, dword [ebp - 0x44]
and dword [ebp - 0xb8], 0
and dword [ebp - 0xbc], 0
and dword [ebp - 0x88], 0
and dword [ebp - 0xc4], 0
mov dword [ebp - 0x64], eax
test eax, eax
je 0x4195c6
test esi, esi
je 0x4195c6
cmp dword [ebp - 0x8c], 0
je 0x41954c
push esi
call fcn.0040ebc1
test eax, eax
je 0x419502
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x88]
push eax
push ecx
push ecx
and dword [esp + 4], 0
and dword [esp], 0
push 0
push 0x20
push 0xffffffffffffffff
push dword [ebp - 0x8c]
push dword [ebp - 0x64]
push esi
call fcn.0040ed2b
push esi
call fcn.004102c1
movss xmm0, dword [ebp - 0x88]
addss xmm0, dword [0x447b3c]
push ecx
addss xmm0, dword [0x447b38]
movss dword [ebp - 0x88], xmm0
movss dword [esp], xmm0
call fcn.0040e3f1
cvttss2si eax, dword [ebp - 0x70]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x60], xmm0
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x60]
cvttss2si eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
push esi
call fcn.0040ebc1
test eax, eax
je 0x4195a6
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
push ecx
push ecx
movd xmm0, eax
mov eax, dword [ebp - 0x84]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 0
push 0x2810
push 0xffffffffffffffff
push dword [eax + 4]
push dword [ebp - 0x64]
push esi
call fcn.0040ed2b
push esi
call fcn.004102c1
push dword [ebp - 0x64]
call fcn.00410e0d
movss xmm0, dword [ebp - 0xb8]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4195c6
cvttss2si edi, xmm0
push 2
call fcn.0040e5a4
test eax, eax
jne 0x4195e4
movd xmm0, edi
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x45b0b0]
cvttss2si edi, xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0x41a00000
movss dword [ebp - 0x64], xmm0
call fcn.0040e3f1
fmul dword [0x447b34]
lea eax, [ebp - 0x24]
push 0xa
push 0xa
push eax
push 0x10
fadd dword [ebp - 0x64]
fstp dword [ebp - 0x60]
cvttss2si esi, dword [ebp - 0x60]
call fcn.004368fc
add esp, 0x10
lea eax, [ebp - 0x24]
push eax
call fcn.0040de3b
push eax
push 0x2c497eb4
push dword [ebp - 0x90]
call fcn.00417bb6
test byte [ebp - 0x80], 0xf0
mov edi, eax
je 0x419692
movd xmm0, esi
cvtdq2ps xmm0, xmm0
push 8
push edi
movss dword [ebp - 0x64], xmm0
call fcn.00415230
push 0
push edi
mov esi, eax
call fcn.00415230
sub esi, eax
push ecx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0040e3f1
fadd dword [ebp - 0x64]
push ecx
mov dword [esp], 0x41700000
fstp dword [ebp - 0x60]
call fcn.0040e3f1
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x60]
cvttss2si esi, dword [ebp - 0x60]
cmp esi, dword [ebp - 0x6c]
push 0xc
cmovle esi, dword [ebp - 0x6c]
push edi
mov dword [ebp - 0x70], esi
call fcn.00415230
push 4
push edi
mov esi, eax
call fcn.00415230
sub esi, eax
push ecx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0040e3f1
cvttss2si esi, dword [ebp - 0xbc]
push 0xabad721d
push 0x2c497eb4
push dword [ebp - 0x90]
fstp dword [ebp - 0x60]
cvttss2si edi, dword [ebp - 0x60]
call fcn.00417bb6
push 0xc
push eax
mov dword [ebp - 0x64], eax
call fcn.00415230
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0040e3f1
push 4
push dword [ebp - 0x64]
fstp dword [ebp - 0x60]
call fcn.00415230
push ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.0040e3f1
fadd dword [ebp - 0x60]
cmp esi, edi
push ecx
cmovge edi, esi
mov dword [esp], 0x41700000
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x60], xmm0
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x60]
call fcn.0040e3f1
fmul dword [0x447b34]
push ecx
mov dword [esp], 0x430c0000
fadd dword [ebp - 0x60]
fstp dword [ebp - 0x60]
cvttss2si edi, dword [ebp - 0x60]
mov dword [ebp - 0x6c], edi
call fcn.0040e3f1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x60]
comiss xmm0, xmm1
jbe 0x419797
push ecx
mov dword [esp], 0x430c0000
call fcn.0040e3f1
fstp dword [ebp - 0x60]
cvttss2si eax, dword [ebp - 0x60]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebp - 0x70]
push ecx
mov dword [esp], 0x435c0000
call fcn.0040e3f1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
fstp dword [ebp - 0x60]
movss xmm0, dword [ebp - 0x60]
comiss xmm0, xmm1
jbe 0x4197d0
push ecx
mov dword [esp], 0x435c0000
call fcn.0040e3f1
fstp dword [ebp - 0x60]
cvttss2si esi, dword [ebp - 0x60]
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x30]
xor edi, edi
mov edx, dword [ebp - 0x6c]
mov eax, ecx
sub eax, dword [ebp - 0x28]
add eax, edx
push edi
push edx
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push esi
push ecx
mov ecx, dword [ebp - 0x34]
mov eax, ecx
sub eax, dword [ebp - 0x2c]
add eax, esi
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [ebp - 0xc8], edi
je 0x419834
push edi
push edi
push edi
mov edi, dword [ebp - 0x68]
push 0xffffffffffffffa9
push 0xffffffffffffffff
push dword [edi]
push edi
push ebx
call fcn.00409d97
jmp 0x419837
mov edi, dword [ebp - 0x68]
push ecx
mov dword [esp], 0x42a00000
call fcn.0040e3f1
push ecx
fstp st(0)
mov dword [esp], 0x41c00000
call fcn.0040e3f1
lea eax, [ebp - 0x34]
fstp st(0)
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x34]
push 0xc
movd xmm0, eax
cvtdq2ps xmm0, xmm0
push dword [ebp - 0x64]
divss xmm0, dword [0x45b0ac]
movss dword [ebp - 0x68], xmm0
call fcn.00415230
movss xmm1, dword [ebp - 0x68]
push 0xc
push dword [ebp - 0x64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebp - 0x68], xmm1
call fcn.00415230
sub eax, 0x18
and dword [ebp - 0x74], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x4475d8]
addss xmm0, dword [ebp - 0x68]
cvttss2si eax, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x60], eax
divss xmm0, dword [0x45b0a8]
subss xmm0, dword [0x447b40]
cvttss2si eax, xmm0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
sub eax, 1
mov dword [ebp - 0x64], eax
js 0x4199bf
imul eax, eax, 0x18
add eax, dword [ebp - 0x7c]
mov esi, eax
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x8f4e0be5
push edi
push ebx
call fcn.0040629d
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4199a9
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x419932
mov edx, dword [esi]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x64]
push 0xffffffffffffffff
mov eax, dword [ecx + eax*4]
push eax
push 0
not eax
push eax
push 0
push 0x18
pop eax
push eax
push 0x50
push dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x68]
push 0xffffffffffffffff
push edx
push 0x8f4e0be5
push 0xffffffffffffffff
push dword [ebp - 0x74]
push dword [ebp - 0x90]
push 1
push eax
call fcn.0040638f
mov eax, dword [ebp - 0x74]
or dword [eax + 0x10], 2
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edi
push ebx
call fcn.004061c7
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x94]
cmp dword [ecx + eax*4], edx
jne 0x4199ac
push 1
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edi
push ebx
call fcn.00407658
mov eax, dword [ebp - 0x64]
sub dword [ebp - 0x68], 0x55
sub esi, 0x18
dec eax
mov dword [ebp - 0x64], eax
test eax, eax
jns 0x419903
cmp dword [ebp - 0x8c], 0
mov esi, dword [ebp - 0x7c]
je 0x419a67
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0x45996287
push edi
push ebx
call fcn.0040629d
mov dword [ebp - 0x70], eax
test eax, eax
je 0x419a67
mov eax, dword [ebp - 0xc0]
push 0xffffffffffffffff
push eax
push 0
push eax
push 0
push 0x18
pop eax
push eax
cvttss2si eax, dword [ebp - 0x88]
push eax
push dword [ebp - 0x60]
lea eax, [ebp - 0x6c]
push 4
push 0xffffffffffffffff
push dword [ebp - 0x8c]
push 0x45996287
push 0xffffffffffffffff
push dword [ebp - 0x74]
push dword [ebp - 0x90]
push 1
push eax
call fcn.0040638f
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push edi
push ebx
call fcn.004061c7
mov ecx, dword [ebp - 0xc0]
push 0
push ecx
call fcn.00415230
test eax, eax
je 0x419a67
push 0
push 1
push 0xf1
push dword [ebp - 0x74]
push dword [ebp - 0x70]
push ebx
call fcn.00405f77
mov eax, dword [ebp - 0x80]
and eax, 7
cmp eax, 2
je 0x419a77
cmp eax, 4
jne 0x419a8c
push 0
push 1
push dword [edi + 0xb4]
call fcn.004048aa
push eax
call fcn.004041f5
mov eax, dword [ebp - 0x84]
test dword [eax + 0x1c], 0x40000000
je 0x419aa6
push 0xfffffffffffffff8
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
jmp 0x419aa8
xor eax, eax
push 0
push eax
push ebx
call fcn.00408ffc
or dword [edi + 0x10], 0x80000000
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x419aec
mov eax, dword [ebp - 0x78]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00403892
test esi, esi
je 0x419b52
mov ebx, dword [ebp - 0xb0]
mov edi, esi
cmp edi, ebx
je 0x419b0f
push 0x18
pop esi
mov ecx, edi
call fcn.00405d9c
add edi, esi
cmp edi, ebx
jne 0x419aff
mov esi, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x98]
sub eax, esi
mov dword [ebp - 0x84], esi
push 0x18
cdq
pop ecx
idiv ecx
imul eax, eax, 0x18
mov dword [ebp - 0x80], eax
cmp eax, 0x1000
jb 0x419b49
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004012d0
mov esi, dword [ebp - 0x84]
mov eax, dword [ebp - 0x80]
push eax
push esi
call fcn.00430933
pop ecx
pop ecx
call fcn.00430bc3
ret 0x10