Function at 0x14003bdd1
Capabilities:
Resolve dns

Disassembly:
push rbp
sub rsp, 0x520
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x240], rsi
mov qword [rbp + 0x238], rbx
mov qword [rbp + 0xb8], rcx
mov qword [rbp + 0xc0], rdx
mov qword [rbp + 0xc8], r8
mov qword [rbp + 0x500], rcx
mov qword [rbp + 0x508], rdx
mov qword [rbp + 0x510], r8
mov rax, qword [0x1400e0a40]
xor rax, rbp
mov qword [rbp + 0x4e0], rax
mov qword [rbp + 0xd0], 0
mov dword [rbp], 0
mov dword [rbp + 4], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov dword [rbp + 8], 0
mov qword [rbp + 0x100], 0
mov eax, 0x102
lea rdx, [rbp + 0x348]
mov rcx, qword [sym.imp.orauts.dll_WSAStartup]
mov qword [rbp + 0x1b0], rcx
mov ecx, eax
mov rax, qword [rbp + 0x1b0]
call rax
mov dword [rbp + 0xc], eax
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x14003bf18
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x10], eax
mov rax, qword [rbp + 0x500]
lea rdx, [0x1400c0e14]
mov ecx, dword [rbp + 0x10]
mov ebx, 0
lea rsi, str.sprvnc_pingAll
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x1b8], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1b8]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x18], eax
mov dword [rbp + 4], 0
jmp 0x14003c6f5
mov dword [rbp + 4], 1
mov rax, qword [rbp + 0x508]
mov edx, 0
mov ecx, 0
lea rbx, [rbp + 0xe8]
mov rsi, qword [sym.imp.WS2_32.dll_getaddrinfo]
mov qword [rbp + 0x1c0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1c0]
mov r8, rax
mov r9, rbx
call rsi
mov dword [rbp + 0x14], eax
mov eax, dword [rbp + 0x14]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 8]
test eax, eax
je 0x14003c0e8
mov qword [rbp + 0x108], 0
mov eax, dword [rbp + 8]
mov ecx, eax
call fcn.140037fa8
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x108], rax
mov rax, qword [sym.imp.orauts.dll_GetLastError]
call rax
mov dword [rbp + 0x20], eax
mov rax, qword [rbp + 0x500]
lea rdx, [0x1400c103c]
mov ecx, dword [rbp + 0x20]
mov rbx, qword [rbp + 0x108]
lea rsi, str.sprvnc_pingAll
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], 0
mov dword [rbp + 0x1c8], ecx
mov rcx, rax
mov eax, dword [rbp + 0x1c8]
mov r8d, eax
mov r9, rbx
call fcn.14002cda8
mov dword [rbp + 0x24], eax
call fcn.14003d2c0
mov dword [rbp + 0x2c], eax
mov eax, dword [rbp + 0x2c]
test eax, eax
je 0x14003c6f5
call fcn.14003d1c7
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x138], rax
mov rax, qword [rbp + 0x138]
test rax, rax
je 0x14003c6f5
call fcn.14003d2d6
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x138]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4b3
mov rsi, qword [rbp + 0x148]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x1d0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1d0]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x50], eax
mov rax, qword [rbp + 0x138]
lea rdx, str.host__s_can_not_be_resolved._errMsg:__s
mov rcx, qword [rbp + 0x508]
mov rbx, qword [rbp + 0x108]
mov qword [rbp + 0x1d8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1d8]
mov r8, rax
mov r9, rbx
call fcn.140001088
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x138]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x68], eax
mov rax, qword [rbp + 0x138]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0x74], eax
jmp 0x14003c6f5
call fcn.14003d2c0
mov dword [rbp + 0x1c], eax
mov eax, dword [rbp + 0x1c]
test eax, eax
je 0x14003c1be
call fcn.14003d1c7
mov qword [rbp + 0x118], rax
mov rax, qword [rbp + 0x118]
mov qword [rbp + 0x120], rax
mov rax, qword [rbp + 0x120]
test rax, rax
je 0x14003c1be
call fcn.14003d2d6
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x120]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4b6
mov rsi, qword [rbp + 0x128]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x1e0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1e0]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x34], eax
mov rax, qword [rbp + 0x120]
lea rdx, str.getaddrinfo_is_succes
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x38], eax
mov rax, qword [rbp + 0x120]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x40], eax
mov rax, qword [rbp + 0x120]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0x54], eax
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0xf0], rax
mov eax, dword [rbp]
test eax, eax
jne 0x14003c60a
mov rax, qword [rbp + 0xf0]
test rax, rax
jne 0x14003c1fc
jmp 0x14003c60a
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x28]
mov qword [rbp + 0xf0], rax
jmp 0x14003c1cc
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 4]
cmp eax, 2
jne 0x14003c375
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
lea rax, [rax + 4]
mov qword [rbp + 0xd8], rax
call fcn.14003d2c0
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x3c]
test eax, eax
je 0x14003c337
call fcn.14003d1c7
mov qword [rbp + 0x158], rax
mov rax, qword [rbp + 0x158]
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
test rax, rax
je 0x14003c337
call fcn.14003d2d6
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 0x168]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4bf
mov rsi, qword [rbp + 0x178]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x1e8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1e8]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x78], eax
mov rax, qword [rbp + 0xd8]
mov eax, dword [rax]
mov rdx, qword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
call rdx
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x168]
lea rdx, str.the_ip_addr_is__s
mov rcx, qword [rbp + 0x1a0]
mov qword [rbp + 0x1f0], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1f0]
mov r8, rax
call fcn.140001088
mov dword [rbp + 0x88], eax
mov rax, qword [rbp + 0x168]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x94], eax
mov rax, qword [rbp + 0x168]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0xa0], eax
mov rax, qword [rbp + 0x500]
mov rdx, qword [rbp + 0xd8]
mov edx, dword [rdx]
mov rcx, qword [rbp + 0x510]
mov qword [rbp + 0x1f8], rcx
mov rcx, rax
mov rax, qword [rbp + 0x1f8]
mov r8, rax
call fcn.14003a88f
mov dword [rbp + 0x58], eax
mov eax, dword [rbp + 0x58]
mov dword [rbp], eax
jmp 0x14003c1e8
mov rax, qword [rbp + 0xf0]
mov eax, dword [rax + 4]
cmp eax, 0x17
jne 0x14003c523
mov dword [rbp + 0x44], 0x100
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
lea rax, [rax + 8]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp + 0xf0]
mov rax, qword [rax + 0x20]
mov edx, 0x1c
mov ecx, 0
lea rbx, [rbp + 0x248]
lea rsi, [rbp + 0x44]
mov qword [rsp + 0x20], rsi
mov rsi, qword [sym.imp.WS2_32.dll_WSAAddressToStringA]
mov qword [rbp + 0x200], rcx
mov rcx, rax
mov rax, qword [rbp + 0x200]
mov r8, rax
mov r9, rbx
call rsi
mov dword [rbp + 0x48], eax
call fcn.14003d2c0
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
test eax, eax
je 0x14003c4e7
call fcn.14003d1c7
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x190], rax
mov rax, qword [rbp + 0x190]
test rax, rax
je 0x14003c4e7
call fcn.14003d2d6
mov qword [rbp + 0x1a8], rax
mov rax, qword [rbp + 0x190]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4cd
mov rsi, qword [rbp + 0x1a8]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x208], rcx
mov rcx, rax
mov rax, qword [rbp + 0x208]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x8c], eax
mov rax, qword [rbp + 0x190]
lea rdx, str.the_ip_addr__s_is_ipv6_address
lea rcx, [rbp + 0x248]
mov qword [rbp + 0x210], rcx
mov rcx, rax
mov rax, qword [rbp + 0x210]
mov r8, rax
call fcn.140001088
mov dword [rbp + 0x98], eax
mov rax, qword [rbp + 0x190]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0xa4], eax
mov rax, qword [rbp + 0x190]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0xac], eax
mov rax, qword [rbp + 0x500]
mov rdx, qword [rbp + 0xe0]
mov rcx, qword [rbp + 0x510]
mov qword [rbp + 0x218], rcx
mov rcx, rax
mov rax, qword [rbp + 0x218]
mov r8, rax
call fcn.14003ab90
mov dword [rbp + 0x6c], eax
mov eax, dword [rbp + 0x6c]
mov dword [rbp], eax
jmp 0x14003c1e8
call fcn.14003d2c0
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x14003c1e8
call fcn.14003d1c7
mov qword [rbp + 0x170], rax
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x188], rax
mov rax, qword [rbp + 0x188]
test rax, rax
je 0x14003c1e8
call fcn.14003d2d6
mov qword [rbp + 0x198], rax
mov rax, qword [rbp + 0x188]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4d2
mov rsi, qword [rbp + 0x198]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x220], rcx
mov rcx, rax
mov rax, qword [rbp + 0x220]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x80], eax
mov rax, qword [rbp + 0x188]
lea rdx, str.the_ip_is_not_ipv6_or_ipv4
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x90], eax
mov rax, qword [rbp + 0x188]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x9c], eax
mov rax, qword [rbp + 0x188]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0xa8], eax
jmp 0x14003c1e8
call fcn.14003d2c0
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14003c6f5
call fcn.14003d1c7
mov qword [rbp + 0x140], rax
mov rax, qword [rbp + 0x140]
mov qword [rbp + 0x150], rax
mov rax, qword [rbp + 0x150]
test rax, rax
je 0x14003c6f5
call fcn.14003d2d6
mov qword [rbp + 0x160], rax
mov rax, qword [rbp + 0x150]
lea rdx, str._s:_d:_s::
lea rcx, str.sprvncon.c
mov ebx, 0x4d7
mov rsi, qword [rbp + 0x160]
mov qword [rsp + 0x20], rsi
mov qword [rbp + 0x228], rcx
mov rcx, rax
mov rax, qword [rbp + 0x228]
mov r8, rax
mov r9d, ebx
call fcn.140001088
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x150]
lea rdx, str.bConnectes_is__d_n
mov ecx, dword [rbp]
mov dword [rbp + 0x230], ecx
mov rcx, rax
mov eax, dword [rbp + 0x230]
mov r8d, eax
call fcn.140001088
mov dword [rbp + 0x70], eax
mov rax, qword [rbp + 0x150]
lea rdx, [0x1400b189c]
mov rcx, rax
call fcn.140001088
mov dword [rbp + 0x7c], eax
mov rax, qword [rbp + 0x150]
mov rdx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov rcx, rax
call rdx
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0xe8]
test rax, rax
je 0x14003c714
mov rax, qword [rbp + 0xe8]
mov rdx, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov rcx, rax
call rdx
mov eax, dword [rbp + 4]
cmp eax, 1
jne 0x14003c728
mov rax, qword [sym.imp.orauts.dll_WSACleanup]
call rax
mov dword [rbp + 0x28], eax
mov eax, dword [rbp]
mov dword [rbp + 0xb0], eax
mov rax, qword [rbp + 0x4e0]
mov qword [rbp + 0x4e0], 0
xor rax, rbp
mov rcx, rax
call fcn.1400aab50
mov eax, dword [rbp + 0xb0]
mov rbx, qword [rbp + 0x238]
mov rsi, qword [rbp + 0x240]
lea rsp, [rbp + 0x4f0]
pop rbp
ret