Function at 0x100f4ed0
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10353a12
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3a0
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 4], 0
push 0xa
push 6
lea eax, [ebp - 0x1c]
push eax
push 0x30
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x100f5086
call fcn.10065830
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
je 0x100f4f7c
call fcn.10065830
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f4], ecx
push 5
mov ecx, dword [ebp - 0x2f4]
call fcn.100783d0
mov byte [ebp - 0x265], al
movzx edx, byte [ebp - 0x265]
test edx, edx
jne 0x100f4f81
jmp 0x100f5086
push 0
push 0
push 0x1036021a
push 0x107
push 0x10360280
push 5
lea ecx, [ebp - 0x264]
call fcn.10070940
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2fc]
call fcn.1006e8c0
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x270]
mov dword [ebp - 0x274], ecx
push str.Trying_address
mov ecx, dword [ebp - 0x274]
call fcn.1005ec90
mov dword [ebp - 0x278], eax
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x27c]
call fcn.1005ec90
mov dword [ebp - 0x280], eax
mov ecx, dword [ebp - 0x280]
mov dword [ebp - 0x284], ecx
push 0x103602b8
mov ecx, dword [ebp - 0x284]
call fcn.1005ec90
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x28c], edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28c]
call fcn.1005ec90
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
call fcn.10065830
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x294]
push edx
mov ecx, dword [ebp - 0x298]
call fcn.100732a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.10072330
call fcn.10065830
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x100f50cf
call fcn.10065830
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], eax
push 6
mov ecx, dword [ebp - 0x2a4]
call fcn.100783d0
mov byte [ebp - 0x266], al
movzx ecx, byte [ebp - 0x266]
test ecx, ecx
jne 0x100f50d4
jmp 0x100f5175
push 0
push 0
push 0x1036021b
push 0x10a
push str.rtc::impl::TcpTransport::createSocket
push 6
lea ecx, [ebp - 0x164]
call fcn.10070940
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2ac]
call fcn.1006e8c0
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2b0]
mov dword [ebp - 0x2b4], eax
push str.Creating_TCP_socket
mov ecx, dword [ebp - 0x2b4]
call fcn.1005ec90
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
call fcn.10065830
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2bc]
push edx
mov ecx, dword [ebp - 0x2c0]
call fcn.100732a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x164]
call fcn.10072330
push 6
push 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ecx
call dword [sym.imp.WS2_32.dll_socket]
mov edx, dword [ebp - 0x26c]
mov dword [edx + 0x160], eax
mov eax, dword [ebp - 0x26c]
cmp dword [eax + 0x160], 0xffffffff
jne 0x100f51c2
push str.TCP_socket_creation_failed
lea ecx, [ebp - 0x318]
call fcn.10070e00
push 0x103cffd0
lea ecx, [ebp - 0x318]
push ecx
call fcn.103171fa
mov ecx, dword [ebp - 0x26c]
call fcn.100f53c0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x160]
push edx
call dword [sym.imp.WS2_32.dll_connect]
mov dword [ebp - 0x2c4], eax
cmp dword [ebp - 0x2c4], 0
jge 0x100f5341
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2734
je 0x100f5341
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x100f5341
push 1
lea ecx, [ebp - 0x3b0]
call fcn.10087ae0
mov dword [ebp - 0x300], eax
mov byte [ebp - 4], 3
push str.TCP_connection_to
lea eax, [ebp - 0x3b0]
push eax
call fcn.10051a40
add esp, 8
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
call fcn.10051a40
add esp, 8
mov dword [ebp - 0x2cc], eax
push 0x10360324
mov eax, dword [ebp - 0x2cc]
push eax
call fcn.10051a40
add esp, 8
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2d0]
push edx
call fcn.10051a40
add esp, 8
mov dword [ebp - 0x2d4], eax
push 0x10360314
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.10051a40
add esp, 8
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
mov dword [ebp - 0x2e0], ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x2f0], eax
mov edx, dword [ebp - 0x2f0]
push edx
mov ecx, dword [ebp - 0x2e0]
call fcn.1004e530
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.1008cb10
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x2e8], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2e8]
push edx
lea ecx, [ebp - 0x30c]
call fcn.10048400
push 0x103cffd0
lea eax, [ebp - 0x30c]
push eax
call fcn.103171fa
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.1004e8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.10088b60
jmp 0x100f5384
mov dword [ebp - 4], 0xffffffff
jmp 0x100f5394
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret 8