Function at 0x5fda8100
Capabilities:
Connect socket

Disassembly:
push dword [edi + 0x38]
lea eax, [edi + 0x18]
push eax
push ebx
call dword [sym.imp.WS2_32.dll_connect]
mov edx, eax
mov ecx, edi
call fcn.5fda80a2
jmp 0x5fda82a6
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5fde94a8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
push edi
mov edi, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0x25a207b9
mov dword [esp + 0x20], 0x4660ddf3
mov dword [esp + 0x24], 0xe576e98e
mov dword [esp + 0x28], 0x3e06748c
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
cmp dword [edi + 0xd0], edx
je 0x5fda8158
inc eax
push eax
movzx eax, word [esi]
push edx
push edx
push 1
push eax
call sym.DNSAPI.dll_Socket_Create
mov ebx, eax
test ebx, ebx
je 0x5fdc4000
push dword [edi + 0x98]
movzx edx, word [esi]
mov ecx, ebx
push 0
call fcn.5fd9ded7
mov esi, eax
test esi, esi
jne 0x5fdc404f
cmp dword [edi + 0x9c], eax
jne 0x5fdc4085
mov edx, dword [esp + 0x10]
mov ecx, edi
mov dword [edi + 0xa0], ebx
mov byte [edi + 0x1b8], 1
call fcn.5fd8c3d4
xor ecx, ecx
cmp dword [edi + 0xd0], ecx
je 0x5fda0bf5
mov edx, dword [edi + 0xa0]
mov eax, 0x2710
push ecx
push ecx
mov ecx, dword [edi + 0xcc]
push eax
mov dword [edi + 0x1a0], eax
call fcn.5fd8c675
mov esi, eax
test esi, esi
jne 0x5fdc40fa
push esi
push esi
lea eax, [esp + 0x1c]
mov dword [edi + 0x19c], 2
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x10
lea eax, [esp + 0x34]
push eax
push 0xc8000006
push dword [edi + 0xa0]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x5fdc4124
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fda823d
test dword [eax + 0x1c], 0x400
jne 0x5fdb8685
lea eax, [edi + 0xd4]
mov dword [esp + 0x14], esi
push eax
lea eax, [esp + 0x18]
push eax
push esi
push esi
push dword [edi + 0x38]
mov esi, dword [esp + 0x2c]
lea eax, [edi + 0x18]
push eax
push ebx
mov ecx, esi
call dword [0x5fdec34c]
call esi
test eax, eax
jne 0x5fda82ba
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, dword [edi + 0xcc]
mov edx, eax
call fcn.5fd8ca8a
mov esi, 0x3e5
cmp eax, esi
jne 0x5fda0c03
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fda82a4
test dword [ecx + 0x1c], 0x400
jne 0x5fdb869e
mov eax, esi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5fd83560
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
jmp 0x5fda826f
mov ecx, dword [edi + 0xcc]
mov edx, esi
call fcn.5fd8ca8a
mov esi, eax
push 0
push ebx
call sym.DNSAPI.dll_Socket_CloseEx
and dword [edi + 0xa0], 0
jmp 0x5fda82a4
push edi
push dword [eax + 0x14]
mov edx, 0x5fd8bc80
push dword [eax + 0x10]
push 0x70
pop ecx
call fcn.5fdc7d09
jmp 0x5fda823d
push edi
push dword [ecx + 0x14]
mov edx, 0x5fd8bc80
push dword [ecx + 0x10]
push 0x71
pop ecx
call fcn.5fdc7d09
jmp 0x5fda82a4
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdc4035
test dword [eax + 0x1c], 0x400
je 0x5fdc4035
mov ecx, esi
call fcn.5fdd4c5b
push eax
mov eax, dword [0x5fde9010]
mov edx, 0x5fd8bc80
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x6a
pop ecx
call fcn.5fdc7fde
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
test esi, esi
jne 0x5fdb8679
mov esi, 0x2736
jmp 0x5fdb8679
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdb8671
test dword [eax + 0x1c], 0x400
je 0x5fdb8671
push esi
push dword [eax + 0x14]
mov edx, 0x5fd8bc80
push dword [eax + 0x10]
push 0x6b
pop ecx
call fcn.5fdc7d09
jmp 0x5fdb8671
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdc40ad
test dword [eax + 0x1c], 0x400
je 0x5fdc40ad
push dword [eax + 0x14]
mov edx, 0x5fd8bc80
push dword [eax + 0x10]
push 0x6c
pop ecx
call fcn.5fdc44b5
mov edx, dword [edi + 0x9c]
mov ecx, ebx
call fcn.5fdd2ec7
mov esi, eax
test esi, esi
je 0x5fda8198
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdc40ed
test dword [eax + 0x1c], 0x400
je 0x5fdc40ed
push esi
push dword [eax + 0x14]
mov edx, 0x5fd8bc80
push dword [eax + 0x10]
push 0x6d
pop ecx
call fcn.5fdc7d09
lea ecx, [edi + 0x18]
call fcn.5fdd4c5b
jmp 0x5fdb8671
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fdb8662
test dword [ecx + 0x1c], 0x400
je 0x5fdb8662
push esi
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x6e
jmp 0x5fdc4152
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov esi, eax
mov eax, dword [0x5fde9010]
cmp eax, 0x5fde9010
je 0x5fdb8662
test dword [eax + 0x1c], 0x400
je 0x5fdb8662
push esi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x6f
mov edx, 0x5fd8bc80
pop ecx
call fcn.5fdc7d09
jmp 0x5fdb8662