Function at 0x4383e0
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440adb
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x468fc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
ja 0x438433
push str.invalid_string_position
call dword [0x441190]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x438449
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xf4], eax
jmp 0x438452
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
movsx ecx, byte [eax]
push ecx
call dword [0x441498]
add esp, 4
test eax, eax
je 0x4384a6
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0x10
jb 0x43848b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0xf8], ecx
jmp 0x438494
mov edx, dword [ebp + 8]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
push eax
call dword [0x441548]
mov dword [ebp - 0x1c], eax
jmp 0x4384e6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x4384bc
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0xfc], eax
jmp 0x4384c5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0xfc]
push edx
call dword [0x441558]
mov dword [ebp - 0x20], eax
push 2
push 4
lea eax, [ebp - 0x20]
push eax
call dword [0x441544]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x438543
call dword [0x441554]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0x10
jb 0x43850b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x100], eax
jmp 0x438514
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
push edx
call dword [0x441558]
mov dword [ebp - 0x28], eax
push 2
push 4
lea eax, [ebp - 0x28]
push eax
call dword [0x441544]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x438543
or eax, 0xffffffff
jmp 0x43861b
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [0x44154c]
push eax
call dword [0x441558]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x1e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0043a440
test eax, eax
jne 0x438618
call dword [0x441124]
mov dword [ebp - 0xd8], eax
push 1
push 3
lea ecx, [ebp - 0xd4]
call fcn.00414140
mov dword [ebp - 4], 0
lea edx, [ebp - 0xd4]
test edx, edx
je 0x4385c4
lea eax, [ebp - 0xd4]
add eax, 0x10
mov dword [ebp - 0x104], eax
jmp 0x4385ce
mov dword [ebp - 0x104], 0
mov ecx, dword [ebp - 0xd8]
push ecx
push str.Failed_to_get_ping_time__error_
mov edx, dword [ebp - 0x104]
push edx
call fcn.00415690
mov ecx, eax
call dword [0x44116c]
mov dword [ebp - 0xdc], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00414200
lea ecx, [ebp - 0x74]
call dword [0x441278]
mov eax, dword [ebp - 0xdc]
jmp 0x43861b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4