Function at 0x4548f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46349f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.CTcpListenThread::ClientWorkItemThread_PID:_u_TID:_u__r_n
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0x10
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
mov dword [ebp - 0x54], eax
call fcn.00451ca0
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 0
jne 0x45498a
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x2c]
jmp 0x454b29
push 0x1c
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x4549be
push 0x1000
push 0x12c
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.00444820
mov dword [ebp - 0x58], eax
jmp 0x4549c5
mov dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x454a2d
push 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_shutdown]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x3c]
jmp 0x454b29
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.00454c70
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 4]
jmp 0x454a70
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.004014d0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
call fcn.00454cd0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x454ab1
push 1
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
call dword [edx]
mov dword [ebp - 0x5c], eax
jmp 0x454ab8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
push ecx
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 0
je 0x454b0f
push 0x473530
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str._CTcpListenThread::ClientWorkItemThread__
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov dword [ebp - 0x60], eax
call fcn.00451ca0
add esp, 4
mov ecx, 0x47cb64
call fcn.0043fdf0
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4