Function at 0x558af0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ba50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea ebx, [esi + 0x3630]
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 - 0x48], esi
mov dword [ebp - 4], 0
stosb byte es:[edi], al
call fcn.00557680
test eax, eax
jne 0x558f78
push str.Reply_on_PASV:_n
mov ecx, esi
call fcn.0054d2a0
push ebx
mov ecx, esi
call fcn.0054d2a0
cmp byte [ebx], 0x32
je 0x558c07
mov eax, dword [0x6d35a0]
push 1
push eax
mov ecx, esi
call fcn.0054d1d0
mov ecx, dword [esi + 0x31f4]
mov eax, dword [ecx + 0x244]
test eax, eax
je 0x558bc7
mov ecx, esi
call fcn.0055cca0
mov dword [esi + 0x8c], 0xe
mov ecx, dword [0x6d3630]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.005559f0
mov edx, dword [esi + 0x31f4]
mov eax, 0x755a
mov dword [edx + 0x140], 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 + 0x3214]
test eax, eax
jne 0x558be2
push 2
call fcn.00561a50
mov dword [esi + 0x3214], 2
mov ecx, esi
call fcn.005593d0
test eax, eax
jne 0x558f78
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 + 0x3214]
mov ebx, 1
test eax, eax
jne 0x558c28
mov ecx, dword [esi + 0x31f4]
push ebx
call fcn.00561a50
mov dword [esi + 0x3214], ebx
mov eax, dword [0x6d359c]
push ebx
push eax
mov ecx, esi
call fcn.0054d1d0
lea edi, [esi + 0x3634]
mov al, byte [edi]
test al, al
jne 0x558c85
mov ecx, dword [0x6d3654]
push ebx
push ecx
mov ecx, esi
call fcn.0054d1d0
mov edx, dword [0x6d3654]
mov ecx, dword [esi + 0x9c]
push edx
call fcn.005559f0
mov ecx, dword [esi + 0x31f4]
mov eax, 0x754f
mov dword [ecx + 0x140], 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.005e7847
add esp, 4
test eax, eax
je 0x558f4a
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x34]
push eax
lea edx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x28]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
push str._u__u__u__u__u__u
push edi
call fcn.005e7710
add esp, 0x20
cmp eax, 6
jne 0x558f4a
push str.Extracting_address_OK_n
mov ecx, esi
call fcn.0054d2a0
mov eax, dword [esi + 0x31e8]
cmp eax, 0xffffffff
je 0x558cef
push eax
call sub.WS2_32.dll_closesocket
mov dword [esi + 0x31e8], 0xffffffff
push 0
push ebx
push 2
mov dword [ebp - 4], 0
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 0x31e8], eax
jne 0x558d74
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
lea eax, [ebp - 0x88]
push edi
push str.Error_code___ld_n
push eax
call fcn.005e7bd3
mov ecx, dword [0x6d364c]
add esp, 0xc
push ebx
push ecx
mov ecx, esi
call fcn.0054d1d0
lea edx, [ebp - 0x88]
mov ecx, esi
push edx
call fcn.0054d2a0
mov eax, dword [0x6d364c]
mov ecx, dword [esi + 0x9c]
push eax
call fcn.005559f0
mov ecx, dword [esi + 0x31f4]
mov eax, edi
mov dword [ecx + 0x140], 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 - 0x20]
mov dword [ebp - 0x20], ebx
push edx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
lea edi, [esi + 0x31fc]
xor eax, eax
mov ecx, edi
mov dl, byte [ebp - 0x24]
push ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov al, byte [ebp - 0x28]
mov cl, byte [ebp - 0x2c]
mov word [edi], 2
mov byte [esi + 0x3200], dl
mov dl, byte [ebp - 0x30]
mov byte [esi + 0x3201], al
mov al, byte [ebp - 0x34]
mov byte [esi + 0x3202], cl
mov cl, byte [ebp - 0x38]
mov byte [esi + 0x3203], dl
mov byte [esi + 0x31fe], al
mov byte [esi + 0x31ff], cl
mov edx, dword [0x6d35e8]
push edx
mov ecx, esi
call fcn.0054d1d0
mov eax, dword [esi + 0x184]
test eax, eax
je 0x558e49
mov bl, byte [eax + 0x15c]
test bl, bl
mov byte [ebp - 0x11], bl
je 0x558e50
mov eax, dword [eax + 0x140]
lea ecx, [ebp - 0x3c]
push 1
push ecx
push eax
mov ecx, esi
call fcn.0054d440
test eax, eax
jne 0x558f78
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x184]
mov dword [ebp - 0x64], edx
mov word [ebp - 0x68], 2
mov ecx, dword [eax + 0x144]
push ecx
call sub.WS2_32.dll_htons
mov word [ebp - 0x66], ax
mov eax, dword [esi + 0x31e8]
lea edx, [ebp - 0x68]
push 0x10
push edx
push eax
jmp 0x558e5a
mov byte [ebp - 0x11], 0
mov bl, byte [ebp - 0x11]
mov ecx, dword [esi + 0x31e8]
push 0x10
push edi
push ecx
call sub.WS2_32.dll_connect
lea edi, [esi + 0x424]
push edi
call fcn.005e8b67
mov eax, dword [edi]
mov ecx, dword [esi + 0x418]
mov edi, dword [esi + 0xb0]
add esp, 4
sub eax, ecx
mov dword [esi + 0x430], eax
mov dword [ebp - 0x18], eax
je 0x558f20
mov ebx, dword [edi + 0x458]
test ebx, ebx
mov dword [ebp - 0x40], ebx
je 0x558ef6
fild dword [ebp - 0x40]
lea edx, [ebx + 1]
mov dword [ebp - 0x40], edx
fstp qword [ebp - 0x50]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x1c]
fild dword [ebp - 0x40]
fst qword [ebp - 0x44]
fld qword [ebp - 0x50]
fmul qword [edi + 0x428]
fadd qword [ebp - 0x1c]
fdivrp st(1)
fst qword [ebp - 0x58]
fstp qword [edi + 0x428]
fld qword [ebp - 0x1c]
fsub qword [ebp - 0x58]
fld qword [0x63e8d8]
call fcn.005e9610
fdiv qword [ebp - 0x44]
fld qword [ebp - 0x50]
fmul qword [edi + 0x438]
fdiv qword [ebp - 0x44]
faddp st(1)
fstp qword [edi + 0x438]
fld qword [ebp - 0x1c]
jmp 0x558eff
fild dword [ebp - 0x18]
fst qword [edi + 0x428]
fcom qword [edi + 0x448]
fnstsw ax
test ah, 0x41
jne 0x558f14
fstp qword [edi + 0x448]
jmp 0x558f16
fstp st(0)
inc ebx
mov dword [edi + 0x458], ebx
mov bl, byte [ebp - 0x11]
mov ecx, esi
call fcn.0054f6f0
neg bl
sbb ebx, ebx
and ebx, 0x19
add ebx, 8
xor eax, eax
mov dword [esi + 0x8c], ebx
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 0x558c3c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret