Function at 0x4bc9c2
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, 0x55b3c8
call fcn.0042ee15
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 8]
push ecx
lea eax, [ebp - 4]
push eax
push 0x5562b4
push 0
call fcn.004deb61
cmp dword [ebp - 4], 0
jne 0x4bcaca
cmp dword [ebp - 8], 0
jne 0x4bcaca
cmp dword [ebp - 0xc], 0
jne 0x4bcaca
cmp dword [ebp - 0x10], 0
jne 0x4bcaca
xor edx, edx
mov dword [0x55615c], edx
lea ecx, [ebp - 0x34]
push ecx
call fcn.005165b8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x2ee
jge 0x4bca62
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
mov ebx, 7
cdq
idiv ebx
mov dword [ebp - 8], eax
sub ecx, dword [ebp - 8]
sar ecx, 1
jns 0x4bca5d
adc ecx, 0
mov dword [ebp - 4], ecx
jmp 0x4bca7f
lea eax, [ecx + ecx*2]
test eax, eax
jns 0x4bca6c
add eax, 3
sar eax, 2
mov dword [ebp - 8], eax
sub ecx, dword [ebp - 8]
sar ecx, 1
jns 0x4bca7c
adc ecx, 0
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x28]
cmp ecx, 0x226
jge 0x4bcaab
mov eax, ecx
add eax, eax
lea eax, [eax + eax*8]
mov ebx, 0x13
cdq
idiv ebx
mov dword [ebp - 0x10], eax
sub ecx, dword [ebp - 0x10]
sar ecx, 1
jns 0x4bcaa6
adc ecx, 0
mov dword [ebp - 0xc], ecx
jmp 0x4bcaca
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
mov ebx, 7
cdq
idiv ebx
mov dword [ebp - 0x10], eax
sub ecx, dword [ebp - 0x10]
sar ecx, 1
jns 0x4bcac7
adc ecx, 0
mov dword [ebp - 0xc], ecx
cmp dword [0x556164], 0
je 0x4bcaec
cmp dword [0x55ad88], 0
je 0x4bcaec
cmp dword [0x55ad98], 0
je 0x4bcaec
mov dword [ebp - 0x14], 3
push 0
push dword [0x55b3c4]
push 0
push 0
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
push 0x6cf0000
push str.mIRC32
push str.mIRC32
push 0
call sub.USER32.dll_CreateWindowExA
mov ebx, eax
mov dword [esi], ebx
test ebx, ebx
jne 0x4bcb29
xor eax, eax
jmp 0x4bce4c
push 8
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.00539438
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x320
lea eax, [ebp - 0x24]
push eax
push dword [0x55b3c4]
push 0
push dword [esi]
push 0
push 0
push 0
push 0
push 0x56300001
push 0x5562c5
push str.mdiclient
push 0
call sub.USER32.dll_CreateWindowExA
mov ebx, eax
mov dword [0x55b3cc], ebx
test ebx, ebx
jne 0x4bcb84
xor eax, eax
jmp 0x4bce4c
push 0x4bc952
push 0xfffffffffffffffc
push ebx
call sub.USER32.dll_SetWindowLongA
mov dword [0x5561b0], eax
call fcn.00506a27
call fcn.004ffc95
cmp dword [0x556198], 0
je 0x4bcbd9
push dword [esi]
call sub.USER32.dll_GetMenu
mov ebx, eax
push 0x3c
push dword [0x556198]
call sub.USER32.dll_LoadMenuA
mov edi, eax
mov dword [0x555c2c], edi
test edi, edi
je 0x4bcbd9
push edi
push dword [esi]
call sub.USER32.dll_SetMenu
push ebx
call sub.USER32.dll_DestroyMenu
push dword [esi]
call sub.USER32.dll_GetMenu
mov ebx, eax
mov dword [0x555c2c], ebx
push 0
push ebx
call sub.USER32.dll_GetSubMenu
mov dword [0x555c30], eax
push 1
push dword [0x555c2c]
call sub.USER32.dll_GetSubMenu
mov dword [0x555c34], eax
push 2
push dword [0x555c2c]
call sub.USER32.dll_GetSubMenu
mov dword [0x555c38], eax
push 3
push dword [0x555c2c]
call sub.USER32.dll_GetSubMenu
mov dword [0x555c3c], eax
push 4
push dword [0x555c2c]
call sub.USER32.dll_GetSubMenu
mov dword [0x555c40], eax
push 0
push dword [esi]
call sub.USER32.dll_GetSystemMenu
mov edi, eax
call sub.USER32.dll_CreatePopupMenu
mov ebx, eax
test ebx, ebx
je 0x4bcd0e
push 0
push 0xf3d
call fcn.0041c35b
push eax
push 0x9c
push 0
push ebx
call sub.USER32.dll_AppendMenuA
push 0x5562c9
push 0
push 0x800
push ebx
call sub.USER32.dll_AppendMenuA
push 0
push 0xf3e
call fcn.0041c35b
push eax
push 0x9d
push 0
push ebx
call sub.USER32.dll_AppendMenuA
push 0
push 0xf3f
call fcn.0041c35b
push eax
push 0x96
push 0
push ebx
call sub.USER32.dll_AppendMenuA
push 0
push 0xf40
call fcn.0041c35b
push eax
push ebx
push 0x410
push 0
push edi
call sub.USER32.dll_InsertMenuA
call sub.USER32.dll_CreatePopupMenu
mov ebx, eax
test ebx, ebx
je 0x4bcd0e
push 0
push 0xf41
call fcn.0041c35b
push eax
push 0xa1
mov eax, 8
cmp dword [0x556160], 0
jne 0x4bcd00
add eax, 0xfffffff8
or eax, 0x400
push eax
push 1
push edi
call sub.USER32.dll_InsertMenuA
push 0
call fcn.00507e1a
push 1
push 0
call fcn.004b67ee
cmp dword [0x556140], 0
je 0x4bcd38
push 8
push 0x7e
push dword [0x555c3c]
call sub.USER32.dll_CheckMenuItem
jmp 0x4bcd53
cmp dword [0x556144], 0
je 0x4bcd53
push 8
push 0x80
push dword [0x555c3c]
call sub.USER32.dll_CheckMenuItem
cmp dword [0x556148], 0
je 0x4bcd6b
push 8
push 0x7f
push dword [0x555c3c]
call sub.USER32.dll_CheckMenuItem
cmp dword [ebp - 0x14], 2
jne 0x4bcd7c
push 3
push dword [esi]
call sub.USER32.dll_ShowWindow
jmp 0x4bcdc2
cmp dword [ebp - 0x14], 1
je 0x4bcd88
cmp dword [ebp - 0x14], 3
jne 0x4bcdb8
cmp dword [0x55ad90], 0
jne 0x4bcd97
cmp dword [ebp - 0x14], 3
jne 0x4bcdad
push 1
call fcn.0050d634
test eax, eax
je 0x4bcdad
push 0
push dword [esi]
call sub.USER32.dll_ShowWindow
jmp 0x4bcdc2
push 7
push dword [esi]
call sub.USER32.dll_ShowWindow
jmp 0x4bcdc2
push dword [ebp + 8]
push dword [esi]
call sub.USER32.dll_ShowWindow
cmp dword [0x55ad94], 0
je 0x4bcdd2
push 1
call fcn.0050d634
push dword [0x55b3cc]
call sub.USER32.dll_UpdateWindow
push dword [esi]
call sub.USER32.dll_UpdateWindow
call fcn.00418a0c
push 0
push 0
push 0
push 0x5562cd
call fcn.00519cb1
mov ebx, eax
mov dword [0x55b3d8], ebx
test ebx, ebx
jne 0x4bce09
xor eax, eax
jmp 0x4bce4c
push ebx
call sub.USER32.dll_UpdateWindow
cmp dword [0x55a3c0], 0
je 0x4bce24
call fcn.00500c40
push 0
call fcn.005010e4
cmp dword [0x556160], 0
je 0x4bce40
push 0x33
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi]
call sub.USER32.dll_SetWindowPos
push dword [esi]
call sub.USER32.dll_UpdateWindow
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4