Function at 0x1400ac020
Capabilities:
Check for time delay via gettickcount
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x9a0]
sub rsp, 0xaa0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x990], rax
mov dword [rsp + 0x34], edx
mov r13, rcx
xor eax, eax
mov dword [rsp + 0x30], eax
mov esi, eax
lea edi, [rax + 4]
xor edx, edx
mov r8d, 0xa0c
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
nop
lea r12, [r13 + 0x20]
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x40], 1
mov rcx, r12
call qword [case.0x1401b9e8b.1]
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov r14, qword [r13 + 0x18]
test r14, r14
je 0x1400ac0b4
lock inc dword [r14 + 8]
mov r14, qword [r13 + 0x18]
mov r12, qword [rsp + 0x38]
mov rbx, qword [r13 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], r14
mov r15d, 1
mov dword [rsp + 0x30], r15d
mov rcx, r12
call qword [case.0x1401b9e8b.2]
cmp dword [rbx + 0x180], 0
je 0x1400ac166
lea r8, [rbx + 0x188]
cmp qword [r8 + 0x18], 8
jb 0x1400ac0f4
mov r8, qword [r8]
mov edx, 0x100
lea rcx, [rbp + 0x384]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov eax, dword [rbx + 0x1a8]
mov dword [rbp + 0x584], eax
lea r8, [rbx + 0x1b0]
cmp qword [r8 + 0x18], 8
jb 0x1400ac123
mov r8, qword [r8]
mov edx, 0x100
lea rcx, [rbp + 0x588]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea r8, [rbx + 0x1d0]
cmp qword [r8 + 0x18], 8
jb 0x1400ac146
mov r8, qword [r8]
mov edx, 0x100
lea rcx, [rbp + 0x788]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
cmp dword [rbx + 0x1f0], 0
setne byte [rbp + 0x988]
and r15d, 0xfffffffe
mov dword [rsp + 0x30], r15d
mov rbx, 0xffffffffffffffff
test r14, r14
je 0x1400ac1b4
mov eax, ebx
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x1400ac1b4
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax]
call qword [case.0x14003c8e9.0]
mov eax, ebx
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x1400ac1b4
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call qword [case.0x14003c8e9.0]
add rdi, rdi
test rsi, rsi
je 0x1400ac1c5
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, 2
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rsi, rax
test rax, rax
je 0x1400ac52e
mov r8, rdi
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14017dcc0
mov r14d, eax
cmp eax, 0xfffffffb
jne 0x1400ac28c
cmp rdi, 0x400
jb 0x1400ac1b4
test byte [rsp + 0x34], 2
je 0x1400ac519
xor r12d, r12d
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
or dword [rsp + 0x30], 2
lea ecx, [r12 + 0x10]
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov r14d, eax
mov word [rsp + 0x20], r12w
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
movsxd rdi, eax
mov r8, qword [rsp + 0x68]
cmp rdi, r8
ja 0x1400ac307
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], rdi
mov word [rcx + rdi*2], r12w
jmp 0x1400ac35f
test eax, eax
js 0x1400ac203
lfence
lea rcx, [r13 + 0xdd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc rbx
cmp word [rsi + rbx*2], 0
jne 0x1400ac2a4
lfence
mov r8, rsi
mov edx, 8
lea rcx, [r13 + 0xdfc]
cmp rbx, rdx
jae 0x1400ac2cd
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400ac2e3
mov r9d, 7
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
xor eax, eax
mov word [r13 + 0xe0a], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x2932e00
mov dword [r13 + 0xdf8], eax
lea rcx, [r13 + 0xdd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400ac519
mov rdx, rdi
sub rdx, r8
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r8
cmp rdx, rax
ja 0x1400ac34f
mov qword [rsp + 0x68], rdi
lea r9, [rsp + 0x58]
cmp rcx, 8
cmovae r9, qword [rsp + 0x58]
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400ac344
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x1400ac35f
lfence
mov r9, rdx
lea rcx, [rsp + 0x58]
call fcn.140011300
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
mov word [rsp + 0x20], r12w
mov r9d, dword [rsp + 0x68]
mov edx, 4
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
test eax, eax
jne 0x1400ac3a7
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x68], r12
mov word [rax], r12w
lea rax, [rsp + 0x58]
mov r10, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
cmp rdi, 8
cmovae rax, r10
mov rcx, rbx
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1400ac3c1
mov r8, qword [rsp + 0x68]
cmp rcx, r8
ja 0x1400ac3ee
lea rax, [rsp + 0x58]
cmp rdi, 8
cmovae rax, r10
mov qword [rsp + 0x68], rcx
mov word [rax + rcx*2], r12w
jmp 0x1400ac43f
mov rdx, rcx
sub rdx, r8
mov rax, rdi
sub rax, r8
cmp rdx, rax
ja 0x1400ac42f
mov qword [rsp + 0x68], rcx
lea r9, [rsp + 0x58]
cmp rdi, 8
cmovae r9, r10
lea rdi, [r9 + r8*2]
test rdx, rdx
je 0x1400ac424
movzx eax, r12w
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [r8 + rdx]
mov word [r9 + rax*2], r12w
jmp 0x1400ac43f
lfence
mov r9, rdx
lea rcx, [rsp + 0x58]
call fcn.140011300
mov r14d, dword [rsp + 0x68]
lea rcx, [r13 + 0xdd0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae r8, qword [rsp + 0x58]
inc rbx
cmp word [r8 + rbx*2], r12w
jne 0x1400ac462
lfence
mov edx, 8
lea rcx, [r13 + 0xdfc]
cmp rbx, rdx
jae 0x1400ac488
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
jmp 0x1400ac49c
mov r9d, 7
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov word [r13 + 0xe0a], r12w
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x2710
mov dword [r13 + 0xdf8], eax
lea rcx, [r13 + 0xdd0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and dword [rsp + 0x30], 0xfffffffd
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400ac505
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ac500
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ac500
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
shr r14d, 0x1f
xor r14b, 1
movzx eax, r14b
mov rcx, qword [rbp + 0x990]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0xaa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret