Function at 0x447570
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push edi
lea edi, [ebp - 8]
sub esp, 0x114
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xc4], 0x607c20
mov dword [ebp - 0xbc], edi
lea edi, [ebp - 0xdc]
mov dword [ebp - 0xc0], 0x60eefc
mov dword [ebp - 0xb8], 0x447ab9
mov dword [ebp - 0xb4], esp
mov dword [esp], edi
call fcn.004cf190
mov eax, dword [ebp - 0xe0]
cmp byte [eax + 0x98], 0
je 0x447605
mov eax, dword [ebp - 0xe0]
mov edx, dword [eax + 0x90]
test edx, edx
jle 0x447880
mov dword [esp], 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], 0xffffffff
call fcn.004456a0
sub esp, 4
test al, al
je 0x447856
lea edx, [ebp - 0x88]
xor eax, eax
mov ecx, 0x20
mov dword [ebp - 0xa4], pe_nt_image_headers32
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xa4]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0xd8], 1
call dword [sym.imp.WS2_32.dll_recvfrom]
sub esp, 0x18
test eax, eax
mov dword [ebp - 0xe8], eax
je 0x447893
js 0x4478d0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xd8], 0xffffffff
call fcn.004474a0
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xe0]
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], edx
mov edi, dword [eax + 0x1a8]
mov dword [ebp - 0xec], ecx
mov dword [ebp - 0xe4], edi
mov edi, eax
mov eax, dword [eax + 0x1c]
mov edx, dword [edi + 0x20]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.00443f80
mov eax, dword [ebp - 0xa0]
sub esp, 8
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x98]
cmp eax, ecx
je 0x447700
mov dword [esp], eax
call fcn.00606c40
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x98]
lea edi, [ebp - 0x98]
mov dword [ebp - 0xa0], eax
mov edx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x1c]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xd8], 0xffffffff
call fcn.00443f80
mov eax, dword [ebp - 0xa0]
sub esp, 8
mov dword [esp], eax
call sub.msvcrt.dll_atoi
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xa0]
cmp eax, edi
je 0x447765
mov dword [esp], eax
call fcn.00606c40
cmp word [ebp - 0x88], 2
mov eax, 0
cmove eax, dword [ebp - 0x84]
mov dword [esp], eax
mov dword [ebp - 0xd8], 0xffffffff
call dword [sym.imp.WS2_32.dll_ntohl]
sub esp, 4
mov dword [ebp - 0xec], eax
cmp word [ebp - 0x88], 2
movzx eax, word [ebp - 0x86]
mov ecx, 0
cmovne eax, ecx
mov dword [esp], eax
mov dword [ebp - 0xd8], 0xffffffff
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [ebp - 0xe0]
sub esp, 4
movzx eax, ax
mov edx, dword [edx + 0x1a4]
test edx, edx
je 0x447a61
mov edx, dword [edx]
test edx, edx
mov edx, dword [ebp - 0xf0]
cmovne edx, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], edx
cmp dword [ebp - 0xe4], eax
jne 0x4478b9
mov ecx, dword [ebp - 0xec]
cmp dword [ebp - 0xf4], ecx
jne 0x4478b9
cmp ecx, 0x7f000001
jne 0x4478b9
cmp dword [ebp - 0xf8], eax
jne 0x4478b9
cmp dword [0x612504], 3
jle 0x44783c
test byte [0x74abf1], 0x40
jne 0x447a72
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [ebp - 0xe0], 0
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.004cf200
mov eax, dword [ebp - 0xe0]
mov edi, dword [ebp - 4]
leave
ret 8
mov eax, dword [eax + 0x94]
test eax, eax
jg 0x4475de
jmp 0x447605
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [ebp - 0xd8], 1
call dword [sym.imp.WS2_32.dll_shutdown]
sub esp, 8
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xe0], eax
jmp 0x447860
mov eax, dword [sym.imp.msvcrt.dll__errno]
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xe0], eax
call eax
cmp dword [eax], 0xb
je 0x4479c0
mov eax, dword [ebp - 0xe0]
call eax
mov eax, dword [eax]
test eax, eax
je 0x4479c0
cmp dword [0x612504], 3
jle 0x447918
test byte [0x74abf1], 0x40
jne 0x447aef
mov dword [esp], 0x20
call fcn.00606e10
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xec], eax
mov ecx, eax
mov dword [esp], str.recv
mov dword [ebp - 0xd8], 2
call fcn.0060d710
push edi
mov dword [ebp - 0xd8], 3
mov eax, dword [ebp - 0xe0]
call eax
mov edi, dword [ebp - 0xec]
mov dword [esp + 4], edi
mov eax, dword [eax]
mov dword [esp], eax
mov ecx, dword [ebp - 0xf0]
call fcn.0052a0d0
push ecx
push ecx
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0xa0]
cmp eax, edx
je 0x447995
mov dword [esp], eax
call fcn.00606c40
mov dword [esp + 8], 0x52a2b0
mov dword [esp + 4], 0x73db40
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
mov dword [ebp - 0xd8], 1
call fcn.00607a50
lea esi, [esi]
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xe0]
call eax
mov eax, dword [eax]
test eax, eax
je 0x44783c
cmp dword [0x612504], 3
jle 0x44783c
test byte [0x74abf1], 0x40
je 0x44783c
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xe0]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [ebp - 0xe4], eax
mov edi, dword [ebp - 0xe0]
call edi
mov edi, dword [ebp - 0xe4]
mov dword [esp + 0x18], edi
mov eax, dword [eax]
mov dword [esp + 0x10], str.ErrorNo:__d___s_
mov dword [esp + 0xc], 0x538
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.recvFrom
mov dword [esp + 0x14], eax
mov dword [esp], 4
call fcn.0042c140
jmp 0x44783c
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xe4], edx
jmp 0x4477f0
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0x7f000001
mov dword [esp + 0x10], str.Loopback_Warning:__X:_u
mov dword [esp + 0xc], 0x555
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.recvFrom
mov dword [esp], 4
mov dword [ebp - 0xd8], 0xffffffff
call fcn.0042c140
jmp 0x44783c
mov dword [ebp - 0xd8], 1
mov eax, dword [ebp - 0xe0]
call eax
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe0]
call eax
mov edi, dword [ebp - 0xe4]
mov dword [esp + 0x18], edi
mov eax, dword [eax]
mov dword [esp + 0x10], str.ErrorNo:__d___s_
mov dword [esp + 0xc], 0x53d
mov dword [esp + 8], str.network_socket.cxx
mov dword [esp + 4], str.recvFrom
mov dword [esp + 0x14], eax
mov dword [esp], 4
call fcn.0042c140
jmp 0x447918