Function at 0x430680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x449dde]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4306a2
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
jmp 0x4306a9
mov dword [ebp - 8], 0
push 0x449d68
mov eax, dword [ebp - 8]
push eax
push str.WMC____4.4X___wmc_Disconnect:_AppName_s_n
push 0x44a1e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44a1e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x44a1b8], 0
je 0x430722
cmp dword [ebp - 4], 0
je 0x4306ea
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
jmp 0x4306f1
mov dword [ebp - 0xc], 0
push 0x449d68
mov eax, dword [ebp - 0xc]
push eax
push str.WMC____4.4X___wmc_Disconnect:_AppName_s__REENTRANT___n
push 0x44a1e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x44a1e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
jmp 0x43091a
mov dword [0x44a1b8], 1
cmp dword [ebp - 4], 0
je 0x43085f
push 1
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call sub.WSOCK32.dll_shutdown
mov eax, dword [ebp - 4]
cmp dword [eax + 0xfe24], 0
je 0x4307fa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push str.WMC____4.4X___wmc_Disconnect:_Wait_3sec._for_end_of_wmc_ReadSocketThread_..._n
push 0x44a1e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x44a1e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0xbb8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xfe24]
push ecx
call fcn.00430930
add esp, 8
test eax, eax
je 0x4307bb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
push str.WMC____4.4X___wmc_Disconnect:_TimeOut_while_waiting_for_end_of_wmc_ReadSocketThread___n
push 0x44a1e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x44a1e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4307e0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push str.WMC____4.4X___wmc_Disconnect:_wmc_ReadSocketThread_ended_n
push 0x44a1e0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x44a1e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
mov dword [eax + 0xfe28], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xfe24], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call sub.WSOCK32.dll_closesocket
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xfe20], 0
je 0x430822
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xfe20]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call sub.WSOCK32.dll_WSACleanup
push 0x44a1a0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push 0x44a1c0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [0x449d7c], 0
je 0x43087d
push 0
push 0
push 0x7d0a
mov eax, dword [0x449d7c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [0x449d8e], 0
je 0x4308ae
mov ecx, dword [0x449d8e]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [0x449d8e]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x449d92], 0
je 0x4308c3
mov eax, dword [0x449d92]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x449d82], 0
je 0x4308d9
mov ecx, dword [0x449d82]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x449d86], 0
je 0x4308ef
mov edx, dword [0x449d86]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [0x449d8a], 0
je 0x430904
mov eax, dword [0x449d8a]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 0x7e
push 0
push 0x449d68
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret