Function at 0x406cf8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x42b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
xor esi, esi
mov eax, 0x43041c
mov eax, dword [eax + esi]
test eax, eax
js 0x406c11
cmp eax, 0x14
jge 0x406c11
cmp dword [esi + 0x430420], ebx
je 0x406c11
cmp dword [esi + 0x430434], 0xffffffff
je 0x406c11
call edi
sub eax, dword [esi + 0x43047c]
cmp eax, 0xea60
jbe 0x406c1e
add esi, 0x70
cmp esi, 0x8c0
jge 0x406c23
jmp 0x406be0
mov ebx, 1
mov ecx, str.ACTIVE
test ebx, ebx
mov eax, str.STANDBY
cmovne eax, ecx
push eax
lea eax, [ebp - 0x108]
push str.__1.0.0___JoinServer__MySQL____s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push dword [0x42c154]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x118]
push eax
push dword [0x42c154]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [0x42c154]
mov dword [ebp - 0x114], 0x50
mov dword [ebp - 0x10c], 0x208
call dword [sym.imp.USER32.dll_GetDC]
push 0
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [ebp - 0x118]
push eax
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov ecx, dword [0x42d304]
mov esi, 0x1c
add ecx, 0xffffffff
mov dword [ebp - 0x120], 0x1f4
mov dword [ebp - 0x11c], 0x1d
cmovns esi, ecx
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
nop dword [eax]
nop word [eax + eax]
imul edi, esi, 0x9c
mov eax, dword [edi + 0x42c1f0]
cmp eax, 3
ja case.default.0x406cf1
jmp dword [eax*4 + 0x406e58]
push 0
jmp 0x406d0f
push 0xff
jmp 0x406d0f
push 0xff00
jmp 0x406d0f
push 0xff0000
push ebx
call ecx
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
lea edx, [edi + 0x42c158]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406d26
sub eax, edi
cmp eax, 1
jle 0x406d4f
mov edi, dword [ebp - 0x120]
push eax
push edx
push edi
push 0
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
sub edi, 0xf
mov dword [ebp - 0x120], edi
mov ecx, dword [sym.imp.GDI32.dll_SetTextColor]
sub esi, 1
mov eax, 0x1c
cmovns eax, esi
sub dword [ebp - 0x11c], 1
mov esi, eax
jne 0x406ce0
push ebx
push dword [0x42c154]
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x6a
push dword [0x42c154]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x42baa8
mov dword [ebp - 0x11c], eax
call ebx
mov esi, dword [0x42bac4]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x42baa8
call edi
push 0x2710
push esi
lea eax, [ebp - 0x108]
push str.UserCount:__d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push eax
push 0
push 0x401
push dword [ebp - 0x11c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x42d348
call ebx
mov esi, dword [0x42d370]
push 0x42d348
call edi
push 0x2000
push esi
lea eax, [ebp - 0x108]
push str.QueueSize:__d__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [ebp - 0x11c]
lea eax, [ebp - 0x108]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x10
push eax
push 1
push 0x401
push ebx
call esi
push 0
push 2
push 0x401
push ebx
call esi
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408618
mov esp, ebp
pop ebp
ret