Function at 0x10075d60
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
lea ebp, [esp - 0x1bc]
sub esp, 0x1bc
push 0xffffffffffffffff
push 0x100fd504
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10143964]
xor eax, ebp
mov dword [ebp + 0x1b8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], edi
sub esp, 0x28
mov dword [ebp - 4], 0
mov esi, esp
mov dword [esi + 0x24], 0
mov ecx, dword [ebp + 0x1ec]
test ecx, ecx
je 0x10075e00
lea eax, [ebp + 0x1c8]
cmp ecx, eax
jne 0x10075df3
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov dword [esi + 0x24], eax
mov ecx, dword [ebp + 0x1ec]
test ecx, ecx
je 0x10075e00
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp + 0x1c8]
cmp ecx, eax
setne al
push eax
call edx
jmp 0x10075df6
mov dword [esi + 0x24], ecx
mov dword [ebp + 0x1ec], 0
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.10050ee0
lea ebx, [edi + 0xdc]
mov dword [edi], vtable.rtc::impl::TcpTransport.0
mov byte [edi + 0xd8], 0
mov dword [ebx], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0xf
mov byte [edi + 0xf4], 0
mov eax, dword [ebp + 0x1c4]
mov dword [edi + 0x10c], eax
lea eax, [edi + 0x110]
push 2
push eax
call sub.MSVCP140.dll__Mtx_init_in_situ
add esp, 8
xorps xmm0, xmm0
movq qword [edi + 0x140], xmm0
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 5
call fcn.10074fd0
sub esp, 0x28
mov byte [ebp - 4], 6
mov eax, esp
lea ecx, [edi + 0x180]
push 0
mov dword [eax + 0x24], 0
call fcn.1004c130
mov eax, dword [0x1014a500]
mov byte [ebp - 4], 7
test eax, eax
je 0x10075f37
cmp dword [eax + 4], 5
jl 0x10075f37
push 0
push 0
push 0x101008a0
push 0x2f
push str.rtc::impl::TcpTransport::TcpTransport
push 5
lea ecx, [ebp]
call fcn.10005670
mov dword [ebp - 0x10], eax
add eax, 0x28
mov byte [ebp - 4], 8
push str.Initializing_TCP_transport_with_socket
push eax
call fcn.10006870
mov ebx, dword [0x1014a500]
add esp, 8
mov esi, dword [ebx + 8]
cmp esi, dword [ebx + 0xc]
je 0x10075f25
mov edi, dword [ebp - 0x10]
mov ecx, dword [esi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [ebx + 0xc]
jne 0x10075f12
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp]
mov byte [ebp - 4], 7
call fcn.10006040
lea ebx, [edi + 0xdc]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0x8004667e
push dword [edi + 0x10c]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
js 0x10076044
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x80
push eax
lea eax, [ebp + 0x100]
push eax
push dword [edi + 0x10c]
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
jns 0x10075f87
push str.getsockname_failed
jmp 0x10076049
push 0xa
push 6
lea eax, [ebp + 0x1b0]
push eax
push 0x30
lea eax, [ebp + 0x180]
push eax
push dword [ebp - 0x18]
lea eax, [ebp + 0x100]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x10075fb9
push str.getnameinfo_failed
jmp 0x10076049
lea edx, [ebp + 0x180]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10075fc2
sub edx, esi
lea eax, [ebp + 0x180]
push edx
push eax
mov ecx, ebx
call fcn.100075f0
lea edx, [ebp + 0x1b0]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10075fe3
sub edx, esi
lea eax, [ebp + 0x1b0]
push edx
push eax
lea ecx, [edi + 0xf4]
call fcn.100075f0
mov ecx, dword [ebp + 0x1ec]
test ecx, ecx
je 0x1007601d
mov esi, dword [ecx]
lea eax, [ebp + 0x1c8]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1b8]
xor ecx, ebp
call fcn.100f06e3
lea esp, [ebp + 0x1bc]
pop ebp
ret 0x2c
push str.Failed_to_set_socket_non_blocking_mode
lea ecx, [ebp - 0x28]
call fcn.10025c30
push 0x10124fbc
lea eax, [ebp - 0x28]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3