Function at 0x496e40
Capabilities:
Create tcp socket
Create udp socket
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4e5258]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x35], 0
movzx eax, word [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x90], 0x493e0
mov edx, dword [ebp - 0x34]
add edx, 0x18
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x34]
add edx, 0x58
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x5c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x40]
mov dword [edx + 0x58], eax
mov ecx, dword [ebp - 0x34]
mov dx, word [ebp + 8]
mov word [ecx + 0x50], dx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 0x34]
call fcn.00497300
movzx ecx, al
test ecx, ecx
jne 0x496eec
push str._Pro5_:TCPProxy::init_initExtensions___failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x497113
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.00496da0
movzx eax, al
test eax, eax
jne 0x496f12
push str._Pro5_::init_m_service.init___failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x497024
cmp dword [ebp - 0x34], 0
je 0x496f23
mov ecx, dword [ebp - 0x34]
add ecx, 4
mov dword [ebp - 0x44], ecx
jmp 0x496f2a
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x78
call fcn.00497130
movzx ecx, al
test ecx, ecx
jne 0x496f54
push str._Pro5_::init_m_pool.init___failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x497024
push 0x10
push 0
lea edx, [ebp - 0x14]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 2
mov word [ebp - 0x14], ax
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x496f83
push str.127.0.0.1
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x34]
mov ax, word [edx + 0x50]
mov word [ebp - 0x12], ax
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x38], 0xffffffff
jne 0x496fb1
jmp 0x497024
push 0x10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x496fca
jmp 0x497024
push bind
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x38]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x496fe2
jmp 0x497024
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x38]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.0049c5d0
push 2
mov ecx, dword [ebp - 0x34]
call fcn.0049d0a0
movzx ecx, al
test ecx, ecx
jne 0x497007
jmp 0x497024
mov edx, dword [ebp - 0x34]
mov byte [edx + 0x52], 1
push str._Pro5_:TCP:init_IPv4_success.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x35], 1
jmp 0x497024
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x4970fb
push 0x1c
push 0
lea ecx, [ebp - 0x30]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov edx, 0x17
mov word [ebp - 0x30], dx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x49705e
mov ecx, 1
imul edx, ecx, 0xf
mov byte [ebp + edx - 0x28], 1
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 0x50]
mov word [ebp - 0x2e], cx
push 1
push 0
push 0
push 6
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x40], 0xffffffff
jne 0x49708c
jmp 0x4970fb
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x4970a5
jmp 0x4970fb
push bind
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x4970bd
jmp 0x4970fb
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x40]
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 8
call fcn.0049c5d0
push 0x17
mov ecx, dword [ebp - 0x34]
call fcn.0049d0a0
movzx edx, al
test edx, edx
jne 0x4970e2
jmp 0x4970fb
push str._Pro5_:TCP:init_IPv6_success.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x34]
mov byte [eax + 0x53], 1
jmp 0x4970fb
movzx ecx, byte [ebp - 0x35]
test ecx, ecx
jne 0x497110
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 8]
call edx
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004adff8
mov esp, ebp
pop ebp
ret 0xc