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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x18008a480]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor r12d, r12d
mov qword [rbp - 0x70], r8
mov r15, rdx
mov dword [rsp + 0x60], r12d
mov rdi, rcx
mov rbx, qword [0x18008a130]
lea r13, [0x18008a130]
mov r14d, 0x2000
cmp rbx, r13
je 0x180048420
test dword [rbx + 0x1c], r14d
jne 0x180048404
mov rsi, qword [rdi]
test rsi, rsi
je 0x180048445
cmp dword [rsi + 0x94], r12d
jne 0x18004846f
cmp dword [rsi + 0x8c], r12d
jne 0x18003e440
call fcn.180028724
mov r14, rax
test rax, rax
je 0x18003e449
cmp qword [rdi + 0x20], r12
jne 0x180028cc9
mov ecx, dword [0x18008a0f8]
call fcn.180008d40
test rax, rax
je 0x18003e456
mov qword [rdi + 0x20], rax
mov dword [rdi + 0x1c], 2
mov eax, dword [0x18008a0f8]
mov rcx, qword [rdi + 0x20]
lea r13, [rdi + 0x18]
mov ebx, 1
mov r8d, eax
xor edx, edx
mov dword [r13], eax
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x6c], ebx
call sub.api_ms_win_core_crt_l1_1_0.dll_memset
cmp qword [rdi + 0x10], r12
jne 0x18002bb46
lea rcx, [rbp - 0x50]
mov r8, r15
call fcn.180028e50
test eax, eax
jne 0x18003e460
mov rax, qword [0x18008a130]
mov r15d, 0x2000
test dword [rax + 0x1c], r15d
jne 0x1800484d1
mov ecx, dword [rsi + 0x90]
mov eax, ecx
neg eax
lea rax, [rbp - 0x80]
sbb r15, r15
and r15, rax
test ecx, ecx
jne 0x18002ba0e
mov rax, qword [0x18008a210]
mov rbx, qword [rax + 0x30]
mov rcx, rbx
call qword [sym.DNSAPI.dll_DnsNotifyResolverClusterIp]
lea rax, [rsp + 0x78]
lea r8, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x60]
mov r9d, 0x10007
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdx, r12
mov qword [rsp + 0x48], rax
lea rax, [rsi + 8]
mov rcx, r14
mov qword [rsp + 0x40], rax
and dword [rsp + 0x38], 0
mov qword [rsp + 0x30], r15
xor r15d, r15d
mov dword [rsp + 0x28], socket
mov dword [rsp + 0x20], r15d
call rbx
mov ebx, eax
mov rcx, qword [0x18008a130]
lea rax, [0x18008a130]
mov r12d, 0x2000
cmp rcx, rax
je 0x180028dd5
test dword [rcx + 0x1c], r12d
jne 0x180048529
mov edx, dword [rsp + 0x60]
test ebx, ebx
jns 0x18002c0e7
mov rcx, qword [0x18008a130]
lea r13, [0x18008a130]
cmp rcx, r13
je 0x180028e01
test dword [rcx + 0x1c], 0x400
jne 0x1800485f8
mov ebx, 0x2339
mov rax, qword [0x18008a130]
mov r15d, 0x2000
test dword [rax + 0x1c], r15d
jne 0x180048622
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.180001000
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r12, [rsi + 8]
jmp 0x180028d49
lea rax, [rdi + 8]
mov dword [rbp - 0x80], r12d
mov dword [rbp - 0x7c], ebx
mov qword [rbp - 0x78], rax
jmp 0x180028d02
jne 0x18002c0fc
test dl, 2
je 0x180028de1
bt edx, 0x10
jae 0x180028de1
mov dword [rsi + 0x90], 1
mov rcx, qword [0x18008a130]
lea r14, [rsi + 8]
cmp rcx, rax
je 0x18002c120
test dword [rcx + 0x1c], r12d
jne 0x180048568
test ebx, ebx
jne 0x18002c1b5
mov rax, qword [0x18008a210]
mov rbx, qword [rax + 0x58]
mov rcx, rbx
call qword [sym.DNSAPI.dll_DnsNotifyResolverClusterIp]
lea r8, [rbp - 0x68]
xor edx, edx
mov rcx, r14
call rbx
mov ebx, eax
test eax, eax
js 0x1800484c5
mov r9d, dword [0x18008a0f4]
cmp dword [rbp - 0x64], r9d
cmova r9d, dword [rbp - 0x64]
mov dword [0x18008a0f4], r9d
mov rcx, qword [0x18008a130]
lea rdx, [0x18008a130]
cmp rcx, rdx
je 0x18002c185
test dword [rcx + 0x1c], r12d
jne 0x1800485ad
test ebx, ebx
jne 0x18002c1b5
mov dword [rsi + 0x94], 1
cmp dword [r13], r15d
lea r13, [0x18008a130]
jne 0x18002c1d2
jmp 0x18002c1a3
mov rcx, qword [rbp - 0x70]
mov eax, dword [rsi + 0x94]
mov dword [rcx], eax
jmp 0x180028e06
lea r13, [0x18008a130]
cmp rcx, r13
je 0x18002c1cb
test dword [rcx + 0x1c], r12d
jne 0x1800485cf
mov dword [rsi + 0x94], r15d
mov ebx, 0x2649
jmp 0x18002c1a3
lea r14, [rsi + 0x70]
jmp 0x180028ca4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
jmp 0x180028e06
mov ebx, reloc.WS2_32.dll_ntohl
jmp 0x180028e06
mov ebx, reloc.WS2_32.dll_listen
jmp 0x1800484c5
mov rcx, qword [rbx + 0x10]
lea r8, [0x1800358e8]
mov edx, 0x21
call fcn.180058818
mov rbx, qword [0x18008a130]
test dword [rbx + 0x1c], r14d
je 0x180028c6d
lea r8, [0x18004d278]
mov r9, rdi
call fcn.180074b8c
mov rbx, qword [0x18008a130]
jmp 0x180028c6d
cmp rbx, r13
je 0x180048465
test dword [rbx + 0x1c], r14d
je 0x180048465
mov rcx, qword [rbx + 0x10]
lea r8, [0x1800358e8]
mov edx, 0x22
call fcn.180058818
mov eax, reloc.WS2_32.dll_ntohl
jmp 0x180028e1f
mov rcx, qword [rdi + 0x20]
test rcx, rcx
je 0x180048494
mov eax, dword [rdi + 0x18]
cmp eax, dword [rdi + 8]
jne 0x180048494
mov rdx, qword [rdi + 0x10]
mov r8d, eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memcmp
test eax, eax
je 0x180028e1f
cmp rbx, r13
je 0x1800484ba
test dword [rbx + 0x1c], 0x10000000
je 0x1800484ba
mov rcx, qword [rbx + 0x10]
lea r8, [0x1800358e8]
mov edx, 0x23
mov r9, rsi
call fcn.18005b42c
mov eax, 0x2339
jmp 0x180028e1f
lea r13, [0x18008a130]
jmp 0x180028e06
lea rdx, [0x18008a130]
cmp rax, rdx
je 0x180048514
test dword [rax + 0x1c], 0x400
je 0x180048514
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov rcx, qword [0x18008a130]
lea r8, [0x1800358e8]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
lea rax, [rbp - 0x50]
mov edx, 0x24
mov qword [rsp + 0x20], rax
call fcn.180058b84
lea r8, [0x18004d2a0]
mov r9, rdi
call fcn.180074b8c
nop
jmp 0x180028d2d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov rcx, qword [0x18008a130]
mov dword [rsp + 0x38], ebx
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.180075208
lea rax, [0x18008a130]
jmp 0x180028dd5
mov eax, dword [r13]
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x48], eax
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
call fcn.180074fc4
mov rcx, qword [0x18008a130]
jmp 0x18002c120
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800358e8]
mov edx, 0x28
call fcn.180058fb0
mov rcx, qword [0x18008a130]
jmp 0x18002c185
mov rcx, qword [rcx + 0x10]
cmp ebx, 0x90314
mov r9d, r15d
lea r8, [0x1800358e8]
mov edx, 0x29
sete r9b
call fcn.180058fb0
nop
jmp 0x18002c1cb
mov eax, dword [rsp + 0x78]
mov rcx, qword [rcx + 0x10]
mov r9d, ebx
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ebx
call fcn.1800752f8
nop
jmp 0x180028e01
call fcn.18006adf0
mov rcx, qword [0x18008a130]
cmp rcx, r13
je 0x180048655
test dword [rcx + 0x1c], r15d
je 0x180048655
mov rcx, qword [rcx + 0x10]
lea r8, [0x1800358e8]
mov edx, 0x2a
mov r9d, ebx
mov dword [rsp + 0x20], ebx
call fcn.18005b9d0
lea r8, [0x18004d2d0]
mov r9, rsi
call fcn.1800748a0
lea r8, [0x18004d2e8]
mov r9, rdi
call fcn.180074b8c
call fcn.18006f8d0
nop
jmp 0x180028e1d