Function at 0x180155c20
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 [0x18036d060]
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
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rax
lea r8, str.domainLookupIpv4_win32
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call fcn.180105b50
nop
mov byte [rbx], 0
mov byte [r12], 0
mov rcx, r15
call fcn.1800da550
call fcn.1801539d0
test al, al
je 0x1801560e7
xor r14d, r14d
mov qword [rsp + 0x60], r14
mov ecx, 0x170
call fcn.18007b16c
mov r13, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x180155d42
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.180211600
mov rcx, r13
call fcn.1801c3280
mov r13, rax
jmp 0x180155d45
mov r13, r14
mov qword [rsp + 0x60], r13
jmp 0x180155d8f
test r13, r13
je 0x1801560e7
mov rcx, r13
call fcn.1800ba6f0
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.1801c3a00
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.1800ba630
test bl, bl
je 0x180155e1b
mov rcx, r15
call fcn.1800d6d70
test eax, eax
jne 0x18015630c
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x180155e3c
test esi, esi
je 0x180155e3c
sub eax, ecx
cmp esi, eax
jbe 0x18015605e
sub esi, eax
mov dword [rsp + 0x50], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
movups xmmword [rsp + 0x1c0], xmm0
movups xmmword [rsp + 0x1d0], xmm0
movups xmmword [rsp + 0x1e0], xmm0
lea rcx, [rsp + 0x160]
call fcn.1800d27d0
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x160]
call fcn.1800d2b80
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
lea rcx, [rsp + 0xd0]
call fcn.1800d27d0
nop
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xd0]
call fcn.1800d2b80
lea rcx, [rsp + 0xd0]
call fcn.1800d9ae0
mov dl, 0x20
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 9
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, reloc.WS2_32.dll_listen
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0xa
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x27
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x22
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x3c
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x3e
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x3a
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x2f
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x40
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
mov dl, 0x3f
lea rcx, [rsp + 0xd0]
call fcn.1800d7880
lea rcx, [rsp + 0xd0]
call fcn.1800d6d70
test eax, eax
je 0x1801560cb
lea rcx, [rsp + 0xd0]
call fcn.1800d9a10
lea rcx, [rsp + 0xd0]
call fcn.1800d6d70
mov ebx, eax
lea rcx, [rsp + 0x160]
call fcn.1800d6d70
cmp ebx, eax
je 0x1801561ba
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.18007b16c
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x180156075
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.180211600
mov rcx, rbx
call fcn.1801c3280
mov r13, rax
jmp 0x180156078
mov byte [r12], 1
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
jmp 0x1801560e7
mov r13, r14
mov qword [rsp + 0x58], r13
jmp 0x1801560b0
mov rbx, qword [rsp + 0x78]
test r13, r13
jne 0x180156119
mov rax, qword [rdi]
lea rdx, str.Memory_allocation_error
mov rcx, rdi
call qword [rax + 0x28]
nop
lea rcx, [rsp + 0xd0]
call fcn.1800d28c0
nop
lea rcx, [rsp + 0x160]
call fcn.1800d28c0
nop
lea rcx, [rsp + 0xb8]
call fcn.180105c80
xor al, al
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.18007b140
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, r13
call fcn.1800ba6f0
mov rcx, r15
call fcn.1800da550
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.1801c3a00
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r13
call fcn.1800ba630
test bl, bl
je 0x18015619d
mov rcx, r15
call fcn.1800d6d70
test eax, eax
jne 0x1801562f0
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jb 0x1801561ba
test esi, esi
je 0x1801561ba
sub eax, ecx
cmp esi, eax
jbe 0x18015622c
sub esi, eax
mov dword [rsp + 0x50], esi
mov dl, 0x2e
lea rcx, [rsp + 0xd0]
call fcn.1800d4b90
cmp eax, 1
jne 0x1801560cb
lea rdx, str.www.
lea rcx, [rsp + 0xd0]
call fcn.1800d76e0
mov qword [rsp + 0x58], r14
mov ecx, 0x170
call fcn.18007b16c
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x180156220
xor edx, edx
mov r8d, 0x170
mov rcx, rax
call fcn.180211600
mov rcx, rbx
call fcn.1801c3280
mov r14, rax
mov qword [rsp + 0x58], r14
mov r13, qword [rsp + 0x70]
jmp 0x18015626f
mov rax, qword [rdi]
lea rdx, str.DNS_timed_out.
mov rcx, rdi
call qword [rax + 0x28]
mov byte [r12], 1
jmp 0x1801560cb
mov rbx, qword [rsp + 0x78]
test r14, r14
je 0x1801560ba
mov rcx, r14
call fcn.1800ba6f0
mov rcx, r15
call fcn.1800da550
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.1801c3a00
movzx ebx, al
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x50]
mov rcx, r14
call fcn.1800ba630
test bl, bl
je 0x1801560cb
lea rcx, [rsp + 0xd0]
call fcn.1800d28c0
nop
lea rcx, [rsp + 0x160]
call fcn.1800d28c0
nop
lea rcx, [rsp + 0xb8]
call fcn.180105c80
mov al, 1
jmp 0x1801560f6