Function at 0x46bf44
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x11c], edx
mov edi, eax
xor eax, eax
push ebp
push 0x46c1c0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [edi + 0xc]
push eax
push 0
mov eax, dword [0x47c664]
push eax
push 0
mov eax, 0x46c1d0
mov ecx, 0x80a00100
xor edx, edx
call fcn.004075d0
mov dword [0x4c11a8], eax
push 1
mov eax, dword [0x47b388]
mov eax, dword [eax + 0x3d]
test eax, eax
jns 0x46bfa7
call fcn.004040a8
push eax
push 0x30
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_SendMessageA
push 0x46be9c
push 0xfffffffffffffffc
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_SetWindowLongA
mov dword [0x4c11ac], eax
xor ebx, ebx
lea edx, [ebp - 0x108]
lea eax, [ebx + 1]
call fcn.0045f8a0
cmp byte [ebp - 0x108], 0
je 0x46c03b
xor eax, eax
mov al, byte [ebp - 0x108]
inc eax
call fcn.00402688
mov esi, eax
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x108]
call fcn.00404e58
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00409294
mov eax, dword [0x47b530]
cmp byte [eax + 0x18], 0xff
je 0x46c027
mov edx, esi
mov eax, esi
call fcn.0041bddc
push esi
push 0
push 0x180
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_SendMessageA
inc ebx
cmp byte [ebp - 0x108], 0
jne 0x46bfce
test ebx, ebx
jne 0x46c080
mov eax, dword [0x47b1d0]
mov edx, 0x46c1e4
call fcn.00409294
push 0
mov eax, dword [0x47b3bc]
mov eax, dword [eax]
push eax
mov eax, dword [0x47b1d0]
push eax
mov eax, dword [edi + 0xc]
push eax
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_DestroyWindow
jmp 0x46c1a7
lea eax, [ebp - 0x118]
push eax
mov eax, dword [edi + 0x43b]
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
mov ecx, 3
cdq
idiv ecx
add eax, eax
mov edx, dword [0x47b530]
mov ecx, dword [edx + 1]
cdq
idiv ecx
mov esi, eax
cmp ebx, esi
jl 0x46c0d9
push 6
call sub.user32.dll_GetSystemMetrics
add eax, eax
mov edx, dword [0x47b530]
mov edx, dword [edx + 1]
imul edx, esi
add eax, edx
mov esi, eax
jmp 0x46c0f0
push 6
call sub.user32.dll_GetSystemMetrics
mov esi, eax
add esi, esi
mov eax, dword [0x47b530]
mov eax, dword [eax + 1]
imul ebx
add esi, eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x114]
sub edx, eax
sub edx, esi
sar edx, 1
jns 0x46c107
adc edx, 0
add edx, eax
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x118]
sub eax, ecx
mov ebx, 6
cdq
idiv ebx
add eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
mov ecx, 3
cdq
idiv ecx
add eax, eax
mov dword [ebp - 0x110], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [edi + 0x43b]
mov eax, dword [eax + 0xc]
push eax
call sub.user32.dll_ClientToScreen
push 0
push esi
mov eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_MoveWindow
push 0
push 0
push 0x186
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_SendMessageA
push 5
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [edi + 0xc]
mov dword [0x4c11b0], eax
mov eax, dword [0x4c11a8]
push eax
call sub.user32.dll_SetFocus
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c1c7
lea eax, [ebp - 0x11c]
call fcn.00404bf4
ret