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

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov eax, dword [0x65044b48]
xor ebx, ebx
test al, 1
jne 0x65019e3d
or eax, 1
mov dword [0x65044b48], eax
mov qword [0x65044b30], rbx
mov qword [0x65044b38], rbx
mov qword [0x65044b40], rbx
lea rcx, [0x65033560]
call fcn.6501e7f0
nop
mov rcx, qword [0x65044b30]
test rcx, rcx
je 0x65019e67
mov r8, qword [0x65044b38]
mov rax, r8
sub rax, rcx
sar rax, 2
je 0x65019e67
mov edx, dword [0x65044b20]
jmp 0x6501a422
lea r8, [0x65034840]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x65034830]
call fcn.6500bcb0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov dword [rsp + 0x60], eax
lea rbp, [0x65044b28]
mov rdx, qword [0x65044b38]
mov rdi, qword [0x65044b30]
test rdi, rdi
je 0x65019ed9
mov rcx, rdx
sub rcx, rdi
sar rcx, 2
mov rax, qword [0x65044b40]
sub rax, rdi
sar rax, 2
cmp rcx, rax
jae 0x65019ed9
mov dword [rdx], r11d
lea rax, [rdx + 4]
mov qword [0x65044b38], rax
jmp 0x65019f84
mov rsi, rdx
cmp rdi, rdx
jbe 0x65019ef4
call fcn.6501dad0
mov rdx, qword [0x65044b38]
mov rdi, qword [0x65044b30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
test rdi, rdi
je 0x65019f22
mov rax, rdx
sub rax, rdi
sar rax, 2
je 0x65019f22
cmp rdi, rdx
jbe 0x65019f19
call fcn.6501dad0
sub rsi, rdi
sar rsi, 2
jmp 0x65019f25
mov rsi, rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.65019030
mov r11, qword [0x65044b30]
mov rdi, r11
mov rcx, qword [0x65044b38]
cmp r11, rcx
jbe 0x65019f71
call fcn.6501dad0
mov rcx, qword [0x65044b38]
mov r11, qword [0x65044b30]
lea rax, [rdi + rsi*4]
cmp rax, rcx
ja 0x65019f7f
cmp rax, r11
jae 0x65019f84
call fcn.6501dad0
lea r8, [0x650347f0]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x650347e0]
call fcn.6500bcb0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov dword [rsp + 0x60], eax
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
test rsi, rsi
je 0x65019fef
mov rcx, rdx
sub rcx, rsi
sar rcx, 2
mov rax, qword [0x65044b40]
sub rax, rsi
sar rax, 2
cmp rcx, rax
jae 0x65019fef
mov dword [rdx], r11d
lea rax, [rdx + 4]
mov qword [0x65044b38], rax
jmp 0x6501a09a
mov rdi, rdx
cmp rsi, rdx
jbe 0x6501a00a
call fcn.6501dad0
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
test rsi, rsi
je 0x6501a038
mov rax, rdx
sub rax, rsi
sar rax, 2
je 0x6501a038
cmp rsi, rdx
jbe 0x6501a02f
call fcn.6501dad0
sub rdi, rsi
sar rdi, 2
jmp 0x6501a03b
mov rdi, rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.65019030
mov r11, qword [0x65044b30]
mov rsi, r11
mov rcx, qword [0x65044b38]
cmp r11, rcx
jbe 0x6501a087
call fcn.6501dad0
mov rcx, qword [0x65044b38]
mov r11, qword [0x65044b30]
lea rax, [rsi + rdi*4]
cmp rax, rcx
ja 0x6501a095
cmp rax, r11
jae 0x6501a09a
call fcn.6501dad0
lea r8, [0x650347a8]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x650347e0]
call fcn.6500bcb0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov dword [rsp + 0x60], eax
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
test rsi, rsi
je 0x6501a105
mov rcx, rdx
sub rcx, rsi
sar rcx, 2
mov rax, qword [0x65044b40]
sub rax, rsi
sar rax, 2
cmp rcx, rax
jae 0x6501a105
mov dword [rdx], r11d
lea rax, [rdx + 4]
mov qword [0x65044b38], rax
jmp 0x6501a1b0
mov rdi, rdx
cmp rsi, rdx
jbe 0x6501a120
call fcn.6501dad0
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
test rsi, rsi
je 0x6501a14e
mov rax, rdx
sub rax, rsi
sar rax, 2
je 0x6501a14e
cmp rsi, rdx
jbe 0x6501a145
call fcn.6501dad0
sub rdi, rsi
sar rdi, 2
jmp 0x6501a151
mov rdi, rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.65019030
mov r11, qword [0x65044b30]
mov rsi, r11
mov rcx, qword [0x65044b38]
cmp r11, rcx
jbe 0x6501a19d
call fcn.6501dad0
mov rcx, qword [0x65044b38]
mov r11, qword [0x65044b30]
lea rax, [rsi + rdi*4]
cmp rax, rcx
ja 0x6501a1ab
cmp rax, r11
jae 0x6501a1b0
call fcn.6501dad0
lea r8, [0x65034770]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x65034760]
call fcn.6500bcb0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov dword [rsp + 0x60], eax
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
test rsi, rsi
je 0x6501a21b
mov rcx, rdx
sub rcx, rsi
sar rcx, 2
mov rax, qword [0x65044b40]
sub rax, rsi
sar rax, 2
cmp rcx, rax
jae 0x6501a21b
mov dword [rdx], r11d
lea rax, [rdx + 4]
mov qword [0x65044b38], rax
jmp 0x6501a2c6
mov rdi, rdx
cmp rsi, rdx
jbe 0x6501a236
call fcn.6501dad0
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
test rsi, rsi
je 0x6501a264
mov rax, rdx
sub rax, rsi
sar rax, 2
je 0x6501a264
cmp rsi, rdx
jbe 0x6501a25b
call fcn.6501dad0
sub rdi, rsi
sar rdi, 2
jmp 0x6501a267
mov rdi, rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.65019030
mov r11, qword [0x65044b30]
mov rsi, r11
mov rcx, qword [0x65044b38]
cmp r11, rcx
jbe 0x6501a2b3
call fcn.6501dad0
mov rcx, qword [0x65044b38]
mov r11, qword [0x65044b30]
lea rax, [rsi + rdi*4]
cmp rax, rcx
ja 0x6501a2c1
cmp rax, r11
jae 0x6501a2c6
call fcn.6501dad0
lea r8, [0x65034720]
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rcx, [0x65034760]
call fcn.6500bcb0
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov r11d, eax
mov dword [rsp + 0x60], eax
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
test rsi, rsi
je 0x6501a331
mov rcx, rdx
sub rcx, rsi
sar rcx, 2
mov rax, qword [0x65044b40]
sub rax, rsi
sar rax, 2
cmp rcx, rax
jae 0x6501a331
mov dword [rdx], r11d
lea rax, [rdx + 4]
mov qword [0x65044b38], rax
jmp 0x6501a3dc
mov rdi, rdx
cmp rsi, rdx
jbe 0x6501a34c
call fcn.6501dad0
mov rdx, qword [0x65044b38]
mov rsi, qword [0x65044b30]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
test rsi, rsi
je 0x6501a37a
mov rax, rdx
sub rax, rsi
sar rax, 2
je 0x6501a37a
cmp rsi, rdx
jbe 0x6501a371
call fcn.6501dad0
sub rdi, rsi
sar rdi, 2
jmp 0x6501a37d
mov rdi, rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
mov r8d, 1
lea rdx, [rsp + 0x30]
mov rcx, rbp
call fcn.65019030
mov r11, qword [0x65044b30]
mov rsi, r11
mov rcx, qword [0x65044b38]
cmp r11, rcx
jbe 0x6501a3c9
call fcn.6501dad0
mov rcx, qword [0x65044b38]
mov r11, qword [0x65044b30]
lea rax, [rsi + rdi*4]
cmp rax, rcx
ja 0x6501a3d7
cmp rax, r11
jae 0x6501a3dc
call fcn.6501dad0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.6501f090
mov r11, qword [0x65044b30]
test r11, r11
jne 0x6501a3fa
mov rdi, rbx
jmp 0x6501a408
mov rdi, qword [0x65044b38]
sub rdi, r11
sar rdi, 2
call fcn.6501f0b0
cdqe
xor edx, edx
div rdi
mov r8, qword [0x65044b38]
mov rcx, qword [0x65044b30]
test rcx, rcx
je 0x6501a431
mov rbx, r8
sub rbx, rcx
sar rbx, 2
lea eax, [rdx + 1]
cdqe
xor edx, edx
div rbx
mov dword [0x65044b20], edx
movsxd rbx, edx
test rcx, rcx
je 0x6501a45a
sub r8, rcx
sar r8, 2
cmp rbx, r8
jae 0x6501a45a
mov eax, dword [rcx + rbx*4]
jmp 0x6501a46a
call fcn.6501dad0
mov r11, qword [0x65044b30]
mov eax, dword [r11 + rbx*4]
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret