Function at 0x4485e2
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x1fc]
sub esp, 0x27c
mov eax, dword [0x493bd0]
xor eax, ebp
mov dword [ebp + 0x1f8], eax
mov eax, dword [ebp + 0x204]
push esi
push edi
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x80]
mov esi, ecx
push eax
push dword [esi + 0x6c0]
push dword [esi + 0x6ac]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x44863f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.WSAEnumNetworkEvents_failed
mov edi, eax
call fcn.00446fee
pop ecx
xor al, al
jmp 0x448997
push ebx
mov edi, 0x115
push edi
xor ebx, ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00452b30
add esp, 0xc
test byte [ebp - 0x80], 1
mov byte [ebp + 0xc4], bl
je 0x448994
mov eax, dword [esi + 0x6ac]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp + 0xe8]
push ecx
push ebx
push edi
lea ecx, [ebp - 0x40]
push ecx
push eax
mov dword [ebp - 0x48], 0x10
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
mov dword [ebp - 0x44], eax
jne 0x4486c8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x448757
mov ecx, 0x2738
cmp eax, ecx
jne 0x4486be
push ecx
push str.gh_recvfrom_failed
call fcn.004470a9
pop ecx
pop ecx
jmp 0x448757
push str.gh_recvfrom_failed
jmp 0x448877
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0xf8]
push eax
push ebx
push dword [ebp - 0x48]
lea eax, [ebp + 0xe8]
push eax
mov dword [ebp - 0x54], 0x100
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
cmp dword [ebp - 0x44], edi
lea eax, [ebp - 0x40]
je 0x4486f8
mov eax, 0x474ff1
lea ecx, [ebp + 0xf8]
push ecx
push eax
push 0xff
push dword [ebp - 0x44]
push str.R:___LEN:___d___SESSION:___.s__FROM:___s__n
push 0xa
call fcn.00451d25
add esp, 0x18
cmp dword [ebp - 0x44], edi
lea eax, [ebp - 0x40]
je 0x448724
mov eax, 0x474ff1
lea ecx, [ebp + 0xf8]
push ecx
push eax
push 0xff
push dword [ebp - 0x44]
push str.2_R:___LEN:___d___SESSION:___.s__FROM:___s__n
call fcn.00453ceb
add eax, 0x40
push eax
call fcn.00453b9c
add esp, 0x18
cmp dword [ebp - 0x44], 0x104
jb 0x448994
push dword [ebp - 0x50]
lea eax, [ebp - 0x40]
push eax
call fcn.0046048c
test eax, eax
pop ecx
pop ecx
jne 0x448886
push ebx
push ebx
push dword [esi + 0x6ac]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
je 0x44886c
lea eax, [ebp - 0x4c]
push eax
push dword [esi + 0x6ac]
mov dword [ebp - 0x4c], ebx
call fcn.0045081a
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x4487ad
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.ioctlsocket_failed
jmp 0x448877
cmp byte [ebp + 0xc4], 2
jne 0x4487df
push str.Handling_proxied_session_request_n
push 0xa
call fcn.00451d25
push 0x10
pop edi
push edi
lea eax, [ebp + 0xc5]
push eax
lea eax, [ebp + 0xe8]
push eax
call fcn.004555f0
add esp, 0x14
mov dword [ebp - 0x48], edi
push dword [ebp - 0x48]
mov eax, dword [esi + 0x6ac]
lea ecx, [ebp + 0xe8]
push ecx
push ebx
mov edi, 0x104
push edi
push dword [ebp - 0x50]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x448812
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.gh_sendto_failed
jmp 0x448877
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0xf8]
push eax
push ebx
push dword [ebp - 0x48]
lea eax, [ebp + 0xe8]
push eax
mov dword [ebp - 0x54], 0x100
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
lea eax, [ebp + 0xf8]
push eax
push dword [ebp - 0x50]
push edi
push str.S:___LEN:___d___SESSION:___s__TO:___s__n
push 0xa
call fcn.00451d25
add esp, 0x14
push 1
push dword [esi + 0x6c0]
push dword [esi + 0x6ac]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x448994
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push str.WSAEventSelect_failed
mov edi, eax
call fcn.00446fee
pop ecx
xor al, al
jmp 0x448996
cmp byte [ebp + 0xc4], 1
jne 0x448994
push 0x10
lea eax, [ebp + 0xd8]
push ebx
push eax
call fcn.00452b30
add esp, 0xc
push 0x1a0a
mov word [ebp + 0xd8], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.127.255.255.255
mov word [ebp + 0xda], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [ebp + 0xdc], eax
jne 0x4488e0
push str.Attempt_to_forward_proxyable_discovery_packet_failed__1_
jmp 0x44898b
push str.Attempting_to_forward_proxyable_discovery_packet
push 0xa
call fcn.00451d25
push 0x10
lea eax, [ebp + 0xe8]
push eax
lea eax, [ebp + 0xc5]
push eax
mov byte [ebp + 0xc4], 2
call fcn.004555f0
add esp, 0x14
push ebx
push ebx
push dword [esi + 0x6ac]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x448925
push str.Attempt_to_forward_proxyable_discovery_packet_failed__2_
jmp 0x44898b
lea eax, [ebp - 0x4c]
push eax
push dword [esi + 0x6ac]
mov dword [ebp - 0x4c], ebx
call fcn.0045081a
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x448945
push str.Attempt_to_forward_proxyable_discovery_packet_failed__3_
jmp 0x44898b
mov eax, dword [esi + 0x6ac]
push 0x10
lea ecx, [ebp + 0xd8]
push ecx
push ebx
push edi
lea ecx, [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x44896d
push str.Attempt_to_forward_proxyable_discovery_packet_failed__4_
jmp 0x44898b
push 1
push dword [esi + 0x6c0]
push dword [esi + 0x6ac]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x448994
push str.Attempt_to_forward_proxyable_discovery_packet_failed__5_
push 0xa
call fcn.00451d25
pop ecx
pop ecx
mov al, 1
pop ebx
mov ecx, dword [ebp + 0x1f8]
pop edi
xor ecx, ebp
pop esi
call fcn.004533e4
add ebp, 0x1fc
leave
ret 4