Function at 0x415c60
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x433d0c
push eax
mov dword fs:[0], esp
sub esp, 0x2cc
push ebx
push ebp
mov ebp, dword [esp + 0x2e4]
push esi
test ebp, ebp
push edi
mov ebx, ecx
je 0x41600d
mov byte [esp + 0x13], 0
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [0x43f884]
call sub.MFC42.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
mov ecx, 0x7a
xor eax, eax
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x20]
push 0x43f7fc
lea ecx, [esp + 0x18]
mov dword [esp + 0xf8], 0x1e8
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], 0x80
mov dword [esp + 0x108], 0x40d
mov dword [esp + 0x104], 7
mov dword [esp + 0x24], 0x82
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x2d]
mov byte [esp + 0x2c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x43f9e4]
mov dword [esp + 0x2e4], 0
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
push str.STOCKTIP1
push str.TRAY
push 0x43e7dc
call dword [edx + 4]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00431552
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
call fcn.0043153a
mov ecx, ebp
mov byte [esp + 0x2e4], 1
call dword [sym.imp.MsgBase.dll_public:_enum_INetConn::ESTATE___thiscall_CNetStateMsg::GetNewState_void_]
mov esi, eax
cmp esi, 2
je 0x415d7f
cmp esi, 0xc
jne 0x415f12
mov ecx, ebp
call dword [sym.imp.MsgBase.dll_public:_enum_INetConn::ESTATE___thiscall_CNetStateMsg::GetOldState_void_]
cmp esi, 2
jne 0x415dab
cmp eax, 1
je 0x415da4
cmp eax, 0x16
je 0x415da4
cmp eax, 3
je 0x415da4
cmp eax, 0xc
je 0x415da4
test eax, eax
jne 0x415dcf
push str.ballon_tips_open_connect
jmp 0x415dc4
cmp esi, 0xc
jne 0x415dcf
cmp eax, 0xb
je 0x415dbf
cmp eax, 2
je 0x415dbf
cmp eax, 1
jne 0x415dcf
push str.ballon_tips_open_disconnect
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [esp + 0x13], 1
mov ecx, ebp
call dword [sym.imp.MsgBase.dll_public:_class_INetConn____thiscall_CNetStateMsg::GetConn_void_]
mov ebp, eax
mov dword [esp + 0x24], 0x437068
test ebp, ebp
mov dword [esp + 0x28], ebp
je 0x415df3
lea eax, [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test ebp, ebp
mov byte [esp + 0x2e4], 2
je 0x415fe8
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
push 0x43f7fc
lea ecx, [esp + 0x20]
mov edi, eax
call sub.MFC42.DLL_CString::CString_3
cmp edi, 3
mov byte [esp + 0x2e4], 3
je 0x415e46
cmp edi, 0x1f
je 0x415e46
cmp edi, 0x20
je 0x415e46
cmp edi, 0x15
je 0x415e46
cmp edi, 0xb
je 0x415e46
mov byte [esp + 0x13], 0
jmp 0x415ed6
push esi
push edi
lea eax, [esp + 0x24]
push str.STOCKTIP_dSTATE_d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0xa1]
mov byte [esp + 0xa0], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x43f9e4]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ecx - 8]
mov edi, dword [edx]
add esp, 0x10
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [0x43f9e4]
push eax
push str.TRAY
push 0x43e7dc
call dword [edi + 4]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x14]
push edx
call fcn.00431552
cmp esi, 2
jne 0x415ed6
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x85
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 4]
mov byte [esp + 0x2e4], 1
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x415f06
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x415fe8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [esp + 0x20]
and eax, 0xffff
push eax
push 0xe
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x18]
push 0x80
lea ecx, [esp + 0x110]
push eax
push ecx
call esi
mov al, byte [esp + 0x13]
test al, al
je 0x415fc4
mov edi, dword [esp + 0x100]
push 0x40
lea edx, [esp + 0x29c]
or edi, 0x10
push 0x43f7fc
push edx
mov dword [esp + 0x10c], edi
mov dword [esp + 0x2a0], 3
mov dword [esp + 0x2e4], 1
call esi
mov eax, dword [esp + 0x14]
push pe_nt_image_headers32
lea ecx, [esp + 0x198]
push eax
push ecx
call esi
mov edx, dword [ebx + 0x20]
push 6
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebx + 0x20]
push 0
push 0x7d0
push 6
push eax
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0xf4]
push ecx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea edi, [ebx + 0x1d11]
mov ecx, 0x7a
lea esi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2e4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x2e4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d8
ret 4