Function at 0x1400f5840
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x200
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov rax, qword [0x14026be10]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov rax, r9
mov qword [rsp + 0x70], rax
mov rdi, r8
mov esi, edx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xa8], rcx
mov dword [rsp + 0x50], edx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x88], rax
mov r15, qword [rsp + 0x260]
mov qword [rsp + 0x90], r15
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x270]
mov qword [rsp + 0x78], rbx
mov r12, qword [rsp + 0x278]
mov qword [rsp + 0x98], r12
xor eax, eax
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rax
lea r8, str.domainLookupIpv4_win32
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call fcn.140071270
nop
mov byte [rbx], 0
mov byte [r12], 0
mov rcx, r15
call fcn.140032220
call fcn.1400f3d30
test al, al
je 0x1400f5eaf
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov ecx, 0x170
call fcn.140169164
mov r13, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400f5967
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.14016c710
mov rcx, r13
call fcn.1401597f0
mov r13, rax
jmp 0x1400f596a
mov r13, r14
mov qword [rsp + 0x60], r13
jmp 0x1400f59b9
test r13, r13
je 0x1400f5eaf
mov rcx, r13
call fcn.140050dc0
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x60], eax
mov r9, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname1
mov rcx, rdi
call qword [r9 + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r15
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9, rdi
mov r8d, esi
mov rdx, qword [rsp + 0x58]
mov rcx, r13
call fcn.140159f80
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.140050d10
test bl, bl
je 0x1400f5a45
mov rcx, r15
call fcn.14002ed00
test eax, eax
jne 0x1400f5d2a
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x1400f5a7e
test esi, esi
je 0x1400f5a7e
sub eax, ecx
cmp esi, eax
jbe 0x1400f5a64
sub esi, eax
mov dword [rsp + 0x50], esi
jmp 0x1400f5a7e
mov byte [r12], 1
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x1400f5eaf
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x160]
call fcn.14016c710
lea rcx, [rsp + 0x160]
call fcn.14002b840
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x160]
call fcn.14002ba10
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0xd0]
call fcn.14016c710
lea rcx, [rsp + 0xd0]
call fcn.14002b840
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xd0]
call fcn.14002ba10
lea rcx, [rsp + 0xd0]
call fcn.140031880
mov dl, 0x20
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 9
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0xd
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0xa
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x27
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x22
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x3c
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x3e
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x3a
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x2f
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x40
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
mov dl, 0x3f
lea rcx, [rsp + 0xd0]
call fcn.14002fc50
lea rcx, [rsp + 0xd0]
call fcn.14002ed00
test eax, eax
je 0x1400f5e93
lea rcx, [rsp + 0xd0]
call fcn.140031790
lea rcx, [rsp + 0xd0]
call fcn.14002ed00
mov ebx, eax
lea rcx, [rsp + 0x160]
call fcn.14002ed00
cmp ebx, eax
je 0x1400f5d77
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.140169164
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400f5c34
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.14016c710
mov rcx, rbx
call fcn.1401597f0
mov r13, rax
jmp 0x1400f5c37
mov r13, r14
mov qword [rsp + 0x58], r13
jmp 0x1400f5c6f
mov rbx, qword [rsp + 0x78]
test r13, r13
jne 0x1400f5c8e
mov rax, qword [rdi]
lea rdx, str.Memory_allocation_error
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x1400f5e93
mov rcx, r13
call fcn.140050dc0
mov rcx, r15
call fcn.140032220
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname2
mov rcx, rdi
call qword [rax + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, rdi
mov r8d, esi
lea rdx, [rsp + 0xd0]
mov rcx, r13
call fcn.140159f80
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.140050d10
test bl, bl
je 0x1400f5d3e
mov rcx, r15
call fcn.14002ed00
test eax, eax
je 0x1400f5d3e
lea rcx, [rsp + 0xd0]
call fcn.14002b890
nop
lea rcx, [rsp + 0x160]
call fcn.14002b890
nop
lea rcx, [rsp + 0xb8]
call fcn.140071380
mov al, 1
jmp 0x1400f5ebe
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x1400f5d77
test esi, esi
je 0x1400f5d77
sub eax, ecx
cmp esi, eax
jbe 0x1400f5d5d
sub esi, eax
mov dword [rsp + 0x50], esi
jmp 0x1400f5d77
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
mov byte [r12], 1
jmp 0x1400f5e93
mov dl, 0x2e
lea rcx, [rsp + 0xd0]
call fcn.14002de70
cmp eax, 1
jne 0x1400f5e93
lea rdx, str.www.
lea rcx, [rsp + 0xd0]
call fcn.14002fac0
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.140169164
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x1400f5ddd
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.14016c710
mov rcx, rbx
call fcn.1401597f0
mov r14, rax
mov qword [rsp + 0x58], r14
mov r13, qword [rsp + 0x70]
jmp 0x1400f5e12
mov rbx, qword [rsp + 0x78]
test r14, r14
je 0x1400f5c79
mov rcx, r14
call fcn.140050dc0
mov rcx, r15
call fcn.140032220
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.resolveHostname3
mov rcx, rdi
call qword [rax + 0x48]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9, rdi
mov r8d, esi
lea rdx, [rsp + 0xd0]
mov rcx, r14
call fcn.140159f80
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r14
call fcn.140050d10
test bl, bl
jne 0x1400f5d0e
lea rcx, [rsp + 0xd0]
call fcn.14002b890
nop
lea rcx, [rsp + 0x160]
call fcn.14002b890
nop
lea rcx, [rsp + 0xb8]
call fcn.140071380
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140168e10
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret