Function at 0x4eecec
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov esi, 0x5369f4
cmp dword [0x536c30], 0
je 0x4eed20
call fcn.004eeb04
test eax, eax
jne 0x4eed19
call fcn.004eeca8
jmp 0x4ef1a4
xor eax, eax
mov dword [0x536c30], eax
xor edx, edx
mov dword [0x563450], edx
mov eax, dword [esi]
test eax, eax
je 0x4eed58
push 0x7c
push eax
call sub.USER32.dll_KillTimer
push 0x7d
push dword [esi]
call sub.USER32.dll_KillTimer
test ebx, ebx
jne 0x4eedc1
mov dword [0x563450], 1
push 0
push dword [esi]
call sub.USER32.dll_ShowWindow
jmp 0x4eedc1
push 0
call fcn.00526bc8
pop ecx
sub eax, dword [0x536c0c]
dec eax
jle 0x4eed73
mov dword [0x563450], 1
push 0
push dword [0x53741c]
push 0
push 0
push dword [0x536c1c]
push dword [0x536c20]
push dword [0x536c28]
push dword [0x536c24]
push 0x8a800000
push 0x536c34
push str.mIRCInfo32
push 0x80
call sub.USER32.dll_CreateWindowExA
mov dword [esi], eax
cmp dword [esi], 0
jne 0x4eedc1
call fcn.004eeca8
jmp 0x4ef1a4
cmp ebx, 2
jne 0x4eedd8
mov eax, dword [0x536438]
mov dword [0x5369f8], eax
push eax
call sub.USER32.dll_UpdateWindow
jmp 0x4eede8
mov eax, dword [0x536700]
mov dword [0x5369f8], eax
push eax
call sub.USER32.dll_UpdateWindow
mov eax, dword [ebp + 0xc]
mov dword [0x536a00], eax
mov dword [0x563474], eax
test ebx, ebx
jne 0x4eee71
cmp dword [0x563474], 0
jne 0x4eee27
cmp dword [0x52b4d0], 0
jne 0x4eee1d
cmp dword [0x52b4d4], 0
jne 0x4eee1d
cmp dword [0x52b4e0], 0
je 0x4eee27
mov dword [0x563474], 1
cmp dword [0x563474], 0x10
jne 0x4eee43
cmp dword [0x52e2bc], 0
je 0x4eee43
mov dword [0x563474], 0x11
push 0x536a04
mov edx, dword [0x563474]
add edx, 0x14b5
push edx
call fcn.00415c87
cmp byte [0x536a04], 0
jne 0x4eef82
call fcn.004eeca8
jmp 0x4ef1a4
cmp ebx, 1
jne 0x4eef3b
push 0x536a04
mov ecx, dword [0x536c2c]
add ecx, 0x14df
push ecx
call fcn.00415c87
cmp byte [0x536a04], 0
jne 0x4eeec4
xor eax, eax
mov dword [0x536c2c], eax
push 0x536a04
add eax, 0x14df
push eax
call fcn.00415c87
cmp byte [0x536a04], 0
jne 0x4eeec4
call fcn.004eeca8
jmp 0x4ef1a4
mov edx, dword [0x536c2c]
add edx, 0x14df
cmp edx, 0x14f7
jne 0x4eef33
mov ecx, 0x533a30
test ecx, ecx
jne 0x4eeef1
call fcn.004eeca8
inc dword [0x536c2c]
jmp 0x4ef1a4
push 0x533a30
push 0x536a04
push 0x5584e6
call sub.USER32.dll_wsprintfA
add esp, 0xc
push esi
push edi
mov esi, 0x536a04
mov edi, 0x5584e6
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
inc dword [0x536c2c]
jmp 0x4eef82
cmp ebx, 2
jne 0x4ef1a4
mov eax, dword [ebp + 0x14]
push esi
push edi
mov esi, 0x536a04
mov edi, eax
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
cmp byte [0x536a04], 0
jne 0x4eef82
call fcn.004eeca8
jmp 0x4ef1a4
push dword [esi]
call sub.USER32.dll_GetDC
mov dword [0x563470], eax
cmp dword [0x563470], 0
jne 0x4eefa1
call fcn.004eeca8
jmp 0x4ef1a4
push 0xc
call sub.GDI32.dll_GetStockObject
push eax
push dword [0x563470]
call sub.GDI32.dll_SelectObject
mov dword [0x563454], eax
push esi
push edi
mov esi, 0x536b08
mov edi, 0x536a04
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0xf
push 0x536b08
call fcn.004e51c7
push 0x563468
push 0x536b08
call fcn.005183dc
pop ecx
push eax
push 0x536b08
push dword [0x563470]
call sub.GDI32.dll_GetTextExtentPointA
push dword [0x563454]
push dword [0x563470]
call sub.GDI32.dll_SelectObject
push dword [0x563470]
push dword [esi]
call sub.USER32.dll_ReleaseDC
mov eax, dword [0x563468]
add eax, 5
mov dword [0x536c20], eax
mov edx, dword [0x56346c]
add edx, 2
mov dword [0x536c1c], edx
cmp ebx, 2
jne 0x4ef08b
push 0x563458
push dword [0x537420]
call sub.USER32.dll_GetWindowRect
movzx eax, di
mov dword [0x536c24], eax
shr edi, 0x10
and di, 0xffff
movzx edx, di
mov dword [0x536c28], edx
mov edx, dword [0x563458]
cmp eax, edx
jge 0x4ef0e4
mov dword [0x536c24], edx
jmp 0x4ef0e4
mov eax, dword [0x536c20]
mov ecx, 3
cdq
idiv ecx
movzx edx, di
sub edx, eax
mov dword [0x536c24], edx
mov eax, dword [0x536714]
add eax, 2
mov dword [0x536c28], eax
push 0x563458
push dword [0x536700]
call sub.USER32.dll_GetWindowRect
mov eax, dword [0x563458]
add dword [0x536c24], eax
mov edx, dword [0x56345c]
add dword [0x536c28], edx
cmp eax, dword [0x536c24]
jle 0x4ef0e4
mov dword [0x536c24], eax
push 0x563458
push dword [0x537420]
call sub.USER32.dll_GetWindowRect
mov edx, dword [0x536c24]
mov ecx, dword [0x536c20]
add edx, ecx
mov eax, dword [0x563460]
cmp edx, eax
jle 0x4ef116
add eax, 0xfffffffb
sub edx, eax
sub dword [0x536c24], edx
cmp dword [0x563450], 0
je 0x4ef153
push 0x90
mov eax, dword [0x536c1c]
inc eax
push eax
push ecx
push dword [0x536c28]
push dword [0x536c24]
push 1
push dword [esi]
call sub.USER32.dll_SetWindowPos
push 0
push 0xfa
push 0x7d
push dword [esi]
call sub.USER32.dll_SetTimer
jmp 0x4ef19d
push 0x50
mov edx, dword [0x536c1c]
inc edx
push edx
push dword [0x536c20]
push dword [0x536c28]
push dword [0x536c24]
push 0xffffffffffffffff
push dword [esi]
call sub.USER32.dll_SetWindowPos
push 1
push 0
push dword [esi]
call sub.USER32.dll_InvalidateRect
push 0
push 0x64
push 0x7c
push dword [esi]
call sub.USER32.dll_SetTimer
push 0
call fcn.00526bc8
pop ecx
mov dword [0x536c0c], eax
push dword [esi]
call sub.USER32.dll_UpdateWindow
pop edi
pop esi
pop ebx
pop ebp
ret 0x10