Function at 0x4046f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5dfe2b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x658aa8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x10c]
mov ebx, dword [esp + 0x3c]
mov edi, ecx
mov dword [esp + 0x34], 2
mov eax, dword [esp + 0x84]
push 0xffffffffffffffff
push eax
lea esi, [edi + 0x610]
call fcn.00428e20
mov ecx, dword [esp + 0xc8]
push 0xffffffffffffffff
push ecx
lea esi, [edi + 0x654]
call fcn.00428e20
mov edx, dword [esp + 0x40]
push closesocket
push closesocket
push closesocket
push closesocket
push 0x81
push 0x10cf0000
push edx
push ebx
mov eax, edi
call fcn.00433850
test eax, eax
jne 0x4047d7
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x40479a
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x4047b5
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x4047d0
push eax
call fcn.0049b045
add esp, 4
xor eax, eax
jmp 0x404915
mov edx, dword [edi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffeffff
push eax
mov eax, dword [edi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp ebp, 0x63
jne 0x40482d
mov edx, dword [edi + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push 1
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x40488a
cmp ebp, 0xb
jne 0x404884
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
call dword [sym.imp.USER32.dll_GetDC]
push 8
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x1c]
push 1
push edx
mov edx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [esp + 0x20]
mov esi, edx
sub esi, eax
sub eax, edx
add eax, ecx
cdq
push esi
sub eax, edx
push 0
sar eax, 1
push eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x40488a
push edi
call fcn.00433a80
mov esi, dword [edi + 4]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
call ebx
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.00433990
mov esi, eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x4048dd
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x4048f8
push eax
call fcn.0049b045
add esp, 4
mov eax, dword [esp + 0xc8]
lea ecx, [esp + 0xcc]
cmp eax, ecx
je 0x404913
push eax
call fcn.0049b045
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xd4