Function at 0x41e670
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcdb5
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x50c080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x41e6ce
mov edx, dword [ebx + 0x19c]
lea ecx, [ebx + 0x174]
mov eax, dword [ecx + 0x24]
inc edx
dec eax
mov dword [ecx + 0x28], edx
cmp edx, eax
jle 0x41e6c4
mov dword [ecx + 0x28], 0
call fcn.00422290
jmp 0x41ec6c
cmp eax, 2
jne 0x41ec6c
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x510acc]
cmp eax, dword [ecx + 4]
jle 0x41e749
push 0x510acc
call fcn.00490cc8
add esp, 4
cmp dword [0x510acc], 0xffffffff
jne 0x41e749
mov dword [0x510ad0], 0
mov dword [ebp - 4], 0
call fcn.00404d30
test eax, eax
je 0x41ecb8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
push 0x4c5030
mov dword [0x510ad0], eax
call fcn.00490f68
add esp, 4
push 0x510acc
call fcn.00490c77
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 1
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41ecb8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00448470
cmp dword [ebx + 0x1bc], 0
mov edi, dword [ebp - 0x34]
je 0x41e7cf
mov eax, dword [ebx + 0x1c0]
test eax, eax
jle 0x41e7cf
cmp edi, eax
jg 0x41e7cf
push dword [ebx + 0x1c4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e7cf
mov esi, dword [ebx + 0x1bc]
mov eax, dword [esi]
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 0x1c0]
cdq
push edx
push eax
mov eax, edi
cdq
push edx
push eax
push dword [ebx + 0x1c4]
push esi
call ecx
cmp dword [0x510a60], edi
jge 0x41e8e5
cmp dword [ebx + 0xfc], edi
je 0x41e817
cmp edi, 0x64
jg 0x41e817
lea eax, [ebp - 0x2c]
mov dword [ebx + 0xfc], edi
push eax
push dword [ebx + 0xd4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0xd4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [ebp - 4], 3
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41ecc2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x578
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004129d0
mov byte [ebp - 4], 5
call fcn.00404d30
mov ecx, eax
test ecx, ecx
je 0x41eccc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
push edi
push esi
push eax
call fcn.00411010
add esp, 8
mov byte [ebp - 0x2d], 0
mov edi, esp
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x38], eax
call fcn.00404ec0
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x100]
add eax, 0x10
mov dword [edi], eax
call fcn.00447d10
mov eax, dword [ebp - 0x34]
or edi, 0xffffffff
mov edx, dword [ebp - 0x38]
add esp, 4
mov dword [0x510a60], eax
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e8ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41e8e5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x18]
mov ecx, 0x510ad0
call fcn.0041eea0
test al, al
jne 0x41e97a
push ecx
mov edi, esp
mov byte [ebp - 0x2d], al
mov dword [ebp - 0x38], edi
mov esi, dword [ebp - 0x18]
lea ecx, [esi - 0x10]
call fcn.00404ec0
mov dl, byte [ebp - 0x2d]
lea ecx, [ebx + 0x104]
add eax, 0x10
mov dword [edi], eax
call fcn.00447d10
mov edi, dword [0x510ad0]
lea ecx, [esi - 0x10]
add edi, 0xfffffff0
add esp, 4
cmp ecx, edi
je 0x41e97a
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x41e96c
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x41e96c
call fcn.00404ec0
mov esi, eax
lea edx, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e962
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [esi + 0x10]
mov dword [0x510ad0], eax
jmp 0x41e97a
push dword [ecx + 4]
mov ecx, 0x510ad0
push esi
call fcn.0040e140
mov al, byte [0x51092f]
test al, al
je 0x41e9c9
inc dword [0x510a5c]
cmp dword [ebx + 0xfc], 0x64
je 0x41e9c9
lea eax, [ebp - 0x2c]
mov dword [ebx + 0xfc], 0x64
push eax
push dword [ebx + 0xd4]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x2c]
push 1
push eax
push dword [ebx + 0xd4]
call esi
jmp 0x41e9cf
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [0x510a5c], 2
jle 0x41ec51
cmp dword [ebx + 0x1bc], 0
je 0x41ea09
push dword [ebx + 0x1c4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ea09
mov ecx, dword [ebx + 0x1bc]
push 2
push dword [ebx + 0x1c4]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x28]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push 0
push dword [ebx + 4]
call esi
call fcn.0044cfa0
mov esi, eax
test esi, esi
jne 0x41ea60
call fcn.00457210
push esi
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.004478f0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57a
push esi
call fcn.004478f0
add esp, 4
lea edi, [ebx + 0x13c]
jmp 0x41ec05
cmp esi, 8
jne 0x41ec8c
call fcn.00457210
push 0
lea ecx, [ebx + 0x100]
mov edx, 0x5b8
call fcn.004478f0
add esp, 4
lea ecx, [ebx + 0x104]
mov edx, 0x57b
push 0
call fcn.004478f0
add esp, 4
lea ecx, [ebx + 0x13c]
mov edx, 0x57c
push 0
call fcn.004478f0
mov edx, dword [0x50d04c]
add esp, 4
cmp byte [0x50cf8c], 0
mov eax, dword [0x50d050]
mov ecx, dword [0x50d048]
mov edi, dword [0x50d054]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x14], eax
je 0x41eb43
push 0x64
push dword [0x50cf88]
push ecx
call esi
mov cl, byte [0x50cf8c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
test cl, cl
je 0x41eb05
push 0x64
push dword [0x50cf88]
push eax
call esi
mov cl, byte [0x50cf8c]
mov dword [ebp - 0x14], eax
test cl, cl
je 0x41eb23
push 0x64
push dword [0x50cf88]
push dword [ebp - 0x34]
call esi
mov cl, byte [0x50cf8c]
mov edx, eax
jmp 0x41eb26
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
test cl, cl
je 0x41eb3d
push 0x64
push dword [0x50cf88]
push edi
call esi
mov edx, dword [ebp - 0x34]
mov edi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
push 0
sub edi, edx
sub eax, ecx
push edi
push eax
push edx
push ecx
push dword [ebx + 0x104]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp byte [0x50cf8c], 0
mov ecx, dword [0x50d05c]
mov eax, dword [0x50d060]
mov edx, dword [0x50d058]
mov edi, dword [0x50d064]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], eax
je 0x41ebe9
push 0x64
push dword [0x50cf88]
push edx
call esi
mov dl, byte [0x50cf8c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
test dl, dl
je 0x41ebab
push 0x64
push dword [0x50cf88]
push eax
call esi
mov dl, byte [0x50cf8c]
mov dword [ebp - 0x34], eax
test dl, dl
je 0x41ebc9
push 0x64
push dword [0x50cf88]
push dword [ebp - 0x14]
call esi
mov dl, byte [0x50cf8c]
mov ecx, eax
jmp 0x41ebcc
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
test dl, dl
je 0x41ebe3
push 0x64
push dword [0x50cf88]
push edi
call esi
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
push 0
sub edi, ecx
sub eax, edx
push edi
push eax
push ecx
push edx
push dword [ebx + 0x13c]
lea edi, [ebx + 0x13c]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push dword [0x51099c]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0xd4]
call esi
push 5
push dword [ebx + 0x10c]
call esi
push 1
push dword [edi]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [edi]
call esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ec6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490c46
mov esp, ebp
pop ebp
ret 0x10
mov edx, esi
lea ecx, [ebp - 0x38]
call fcn.00455840
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041ef40
xor edx, edx
mov ecx, eax
call fcn.00457ae0
lea ecx, [ebp - 0x38]
call fcn.00404fe0
push esi
call fcn.0049baf4
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
push 0x80004005
call fcn.00404ea0
int3