Function at 0x4d3980
Capabilities:
Connect socket
Connect udp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea ebx, [esi + 0x32b4]
mov dword [ebp - 0x10], esp
mov edi, ebx
push str.recv___PASV
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
mov ecx, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], 0
stosb byte es:[edi], al
call fcn.004d2600
test eax, eax
jne 0x4d3d61
push str.Reply_on_PASV:_n
mov ecx, esi
call fcn.004cfa50
push ebx
mov ecx, esi
call fcn.004cfa50
cmp byte [ebx], 0x32
je 0x4d3a8f
mov eax, dword [0x5c8250]
mov ecx, esi
push eax
call fcn.004cf990
mov ecx, dword [esi + 0x2e8c]
mov eax, dword [ecx + 0x29c]
test eax, eax
je 0x4d3a4f
mov ecx, esi
call fcn.004d6d30
mov dword [esi + 0x5c], 0xe
mov ecx, dword [0x5c82e0]
push ecx
mov ecx, dword [esi + 0x6c]
call fcn.004d1ef0
mov edx, dword [esi + 0x2e8c]
mov eax, 0x755a
mov dword [edx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2e98]
test eax, eax
jne 0x4d3a6a
push 2
call fcn.004dacd0
mov dword [esi + 0x2e98], 2
mov ecx, esi
call fcn.004d4150
test eax, eax
jne 0x4d3d61
mov eax, 0x753a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x2e98]
mov ebx, 1
test eax, eax
jne 0x4d3ab0
mov ecx, dword [esi + 0x2e8c]
push ebx
call fcn.004dacd0
mov dword [esi + 0x2e98], ebx
mov eax, dword [0x5c824c]
mov ecx, esi
push eax
call fcn.004cf990
lea edi, [esi + 0x32b8]
mov al, byte [edi]
test al, al
jne 0x4d3b08
mov ecx, dword [0x5c8304]
push ecx
mov ecx, esi
call fcn.004cf990
mov edx, dword [0x5c8304]
mov ecx, dword [esi + 0x6c]
push edx
call fcn.004d1ef0
mov ecx, dword [esi + 0x2e8c]
mov eax, 0x754f
mov dword [ecx + 0x1d4], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edx, al
push edx
call fcn.0052727d
add esp, 4
test eax, eax
je 0x4d3d33
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x30]
push eax
lea edx, [ebp - 0x2c]
push ecx
lea eax, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
push str._u__u__u__u__u__u
push edi
call fcn.005284dc
add esp, 0x20
cmp eax, 6
jne 0x4d3d33
push str.Extracting_address_OK_n
mov ecx, esi
call fcn.004cfa50
mov eax, dword [esi + 0x2e80]
cmp eax, 0xffffffff
je 0x4d3b72
push eax
call sub.WSOCK32.dll_closesocket
mov dword [esi + 0x2e80], 0xffffffff
push 0
push ebx
push 2
mov dword [ebp - 4], 0
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x2e80], eax
jne 0x4d3bed
call sub.WSOCK32.dll_WSAGetLastError
mov edi, eax
lea eax, [ebp - 0x80]
push edi
push str.Error_code___ld_n
push eax
call fcn.00527718
mov ecx, dword [0x5c82fc]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.004cf990
lea edx, [ebp - 0x80]
mov ecx, esi
push edx
call fcn.004cfa50
mov eax, dword [0x5c82fc]
mov ecx, dword [esi + 0x6c]
push eax
call fcn.004d1ef0
mov ecx, dword [esi + 0x2e8c]
mov eax, edi
mov dword [ecx + 0x1d4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push 0x8004667e
push eax
call sub.WSOCK32.dll_ioctlsocket
mov cl, byte [ebp - 0x20]
xor eax, eax
mov dl, byte [ebp - 0x24]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5c], cl
mov cl, byte [ebp - 0x2c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x59], cl
mov ecx, dword [0x5c8298]
mov byte [ebp - 0x5b], dl
mov dl, byte [ebp - 0x30]
mov byte [ebp - 0x5a], al
mov al, byte [ebp - 0x34]
push ecx
mov ecx, esi
mov word [ebp - 0x60], 2
mov byte [ebp - 0x5e], dl
mov byte [ebp - 0x5d], al
call fcn.004cf990
mov eax, dword [esi + 0x2e80]
lea edx, [ebp - 0x60]
push 0x10
push edx
push eax
call sub.WSOCK32.dll_connect
lea edi, [esi + 0xc0]
push edi
call fcn.005283b0
mov eax, dword [edi]
mov ecx, dword [esi + 0xb4]
mov edi, dword [esi + 0x7c]
add esp, 4
sub eax, ecx
mov dword [esi + 0xcc], eax
mov dword [ebp - 0x14], eax
je 0x4d3d12
mov ebx, dword [edi + 0x3f8]
test ebx, ebx
mov dword [ebp - 0x38], ebx
je 0x4d3ceb
fild dword [ebp - 0x38]
lea ecx, [ebx + 1]
mov dword [ebp - 0x38], ecx
fstp qword [ebp - 0x48]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x18]
fild dword [ebp - 0x38]
fst qword [ebp - 0x3c]
fld qword [ebp - 0x48]
fmul qword [edi + 0x3c8]
fadd qword [ebp - 0x18]
fdivrp st(1)
fst qword [ebp - 0x50]
fstp qword [edi + 0x3c8]
fld qword [ebp - 0x18]
fsub qword [ebp - 0x50]
fld qword [0x571ef8]
call fcn.00528d80
fdiv qword [ebp - 0x3c]
fld qword [ebp - 0x48]
fmul qword [edi + 0x3d8]
fdiv qword [ebp - 0x3c]
faddp st(1)
fstp qword [edi + 0x3d8]
fld qword [ebp - 0x18]
jmp 0x4d3cf4
fild dword [ebp - 0x14]
fst qword [edi + 0x3c8]
fcom qword [edi + 0x3e8]
fnstsw ax
test ah, 0x41
jne 0x4d3d09
fstp qword [edi + 0x3e8]
jmp 0x4d3d0b
fstp st(0)
inc ebx
mov dword [edi + 0x3f8], ebx
mov ecx, esi
call fcn.004d0590
mov dword [esi + 0x5c], 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x4d3ac3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret