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

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1ffc0]
mov eax, 0x200c0
call fcn.1400e0a90
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x200f0], rbx
mov qword [rsp + 0x200f8], rsi
mov qword [rsp + 0x20100], rdi
mov rdi, r8
mov rsi, rdx
mov r13, rcx
mov rbx, qword [0x14012a950]
mov rcx, r8
call fcn.1400057c0
mov ecx, reloc.OLEAUT32.DLL_SafeArrayGetDim
test al, al
je 0x140072aff
mov r8d, ecx
xor edx, edx
mov rcx, rdi
call fcn.1400d6e8c
jmp 0x140072b07
mov rcx, rdi
call fcn.1400d6efc
mov r12, rax
cmp rax, 1
jge 0x140072b2d
mov rax, qword [0x1401255c8]
mov dword [rax + 0x40], 0x57
mov dl, 1
mov rcx, r13
call fcn.14004ced0
jmp 0x140073253
lea r15, [0x1400f1998]
mov qword [rsp + 0x30], r15
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x40], r14d
mov dword [rsp + 0x44], 0xffffffff
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov ecx, dword [0x14012d3d8]
cmp ecx, 0xffffffff
je 0x140072b81
mov dword [rsp + 0x44], ecx
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.DLL_GetCPInfo]
movzx ecx, byte [rsp + 0x4e]
test eax, eax
cmove ecx, r14d
mov byte [rsp + 0x4e], cl
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x70], 0xffffffffffffffff
mov rax, qword [0x1401255c8]
mov edi, dword [rax + 0x13c]
btr edi, 0x1f
mov dword [rbp + 0x20008], 0x30c
mov dword [rsp + 0x3c], r14d
lea r8, [rbp + 0x20008]
mov rdx, rsi
lea rcx, [rsp + 0x30]
call qword [0x1400f19f0]
test al, al
je 0x1400731be
mov r8d, edi
lea rdx, [rbp + 0x20008]
lea rcx, [rsp + 0x30]
call fcn.1400b6b40
test al, al
je 0x1400731be
mov rdi, r14
test r12, r12
jle 0x140072d3c
nop dword [rax + rax]
mov r9d, 1
mov r8d, 0xffff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400b6cc0
mov esi, eax
test eax, eax
je 0x140072c7c
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [0x14012d1a4]
mov rcx, qword [0x1401255c8]
cmp eax, dword [rcx + 0x118]
jbe 0x140072c6f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.DLL_PeekMessageW]
test eax, eax
je 0x140072c63
mov edx, 1
or ecx, 0xffffffff
call fcn.140001b60
call qword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x14012d1a4], eax
inc rdi
cmp rdi, r12
jl 0x140072c00
jmp 0x140072d42
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [0x1401255c8]
mov dword [rcx + 0x40], eax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x140072cb5
cmp qword [rsp + 0x60], 0
jne 0x140072cb5
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
mov dl, 1
mov rcx, r13
call fcn.14004ced0
mov edi, eax
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x140072d07
cmp qword [rsp + 0x60], 0
jne 0x140072d07
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [0x1400f1a08]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140072d37
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x140072d2e
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
jmp 0x14007323d
mov esi, dword [rbp + 0x20008]
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x140072d6b
cmp qword [rsp + 0x60], 0
jne 0x140072d6b
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x20]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
test esi, esi
je 0x1400730b8
lea edx, [rsi - 1]
cmp word [rbp + rdx*2 - 0x40], 0xa
cmove esi, edx
test esi, esi
je 0x1400730b8
mov r12d, esi
movzx edx, byte [rbx + 0x23]
test dl, dl
jne 0x140072dc2
mov byte [rsp + 0x20], 1
xor r9d, r9d
mov r8d, r12d
lea rdx, [rbp - 0x40]
mov rcx, qword [rbx + 0x10]
call fcn.1400bd640
jmp 0x140073018
cmp r12, 0xffffffffffffffff
jne 0x140072def
lea rax, [rbp - 0x40]
cmp qword [rbx + 8], rax
jne 0x140072ddb
mov r12, qword [rbx + 0x10]
shr r12, 1
jmp 0x140072def
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x40]
repne scasw ax, word [rdi]
not rcx
lea r12, [rcx - 1]
lea rax, [r12 + 1]
lea rsi, [rax + rax]
cmp dl, 2
jne 0x140072e0e
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.140006da0
jmp 0x140073018
mov rcx, qword [0x1401255a0]
cmp rsi, rcx
jbe 0x140072e2c
cmp rsi, qword [rbx + 0x18]
jbe 0x140072e2c
lea rdx, [0x140110420]
jmp 0x140073005
cmp rax, 2
jae 0x140072e46
xor r8d, r8d
lea edx, [r8 + 4]
mov rcx, rbx
call fcn.1400bdcf0
jmp 0x140073142
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x140072e63
and al, 0x3d
mov byte [rbx + 0x21], al
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.DLL_SafeArrayGetDim]
mov rcx, qword [0x1401255a0]
and byte [rbx + 0x21], 0x82
mov r8, qword [rbx + 0x18]
cmp rsi, r8
jbe 0x140073088
movzx r9d, byte [rbx + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x140072e9a
cmp al, 2
je 0x140072ed8
mov rdi, qword [rbp + 0x20008]
mov rax, qword [rbp + 0x20008]
jmp 0x140072fcb
mov edi, 0x80
cmp rsi, rdi
ja 0x140072ed8
cmp rsi, 8
ja 0x140072eb1
mov edi, 8
jmp 0x140072ebe
cmp rsi, 0x10
mov eax, reloc.OLEAUT32.DLL_SafeArrayGetDim
cmovbe rdi, rax
mov rcx, rdi
call fcn.1400b60a0
test rax, rax
je 0x140073020
mov byte [rbx + 0x20], 1
jmp 0x140072fcb
cmp rsi, 0x20
jae 0x140072ee8
mov edi, SafeArrayAllocDescriptor
jmp 0x140072f92
mov edi, 0x208
cmp rsi, rdi
jb 0x140072f92
cmp rsi, 0x50000
jae 0x140072f4e
pxor xmm0, xmm0
cvtsi2sd xmm0, rsi
test rsi, rsi
jns 0x140072f15
addsd xmm0, qword [0x140112018]
mulsd xmm0, qword [0x140112050]
xor eax, eax
movsd xmm1, qword [0x140112048]
comisd xmm0, xmm1
jbe 0x140072f44
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140072f44
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rdi, xmm0
add rdi, rax
jmp 0x140072f92
cmp rsi, 0x320000
jae 0x140072f60
lea rdi, [rsi + 0x8000]
jmp 0x140072f92
cmp rsi, 0xc80000
jae 0x140072f8b
mov rdi, rsi
movabs rax, 0x47ae147ae147ae15
mul rsi
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 6
add rdi, rsi
jmp 0x140072f92
lea rdi, [rsi + 0x20000]
cmp rdi, rcx
cmova rdi, rcx
cmp r9b, 2
jne 0x140072fb2
test r8, r8
je 0x140072fb2
mov sil, 1
mov rcx, qword [rbx + 8]
call fcn.1400d6fc8
jmp 0x140072fb5
xor sil, sil
test rdi, rdi
js 0x140072fdc
mov rcx, rdi
call fcn.1400d6f08
test rax, rax
je 0x140072fdc
mov byte [rbx + 0x20], 2
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
and byte [rbx + 0x21], 0x7f
jmp 0x140073088
test sil, sil
je 0x140072ff2
mov qword [rbx + 0x18], r14
lea rax, [0x14012c4b8]
mov qword [rbx + 8], rax
jmp 0x140072ffa
mov rax, qword [rbx + 8]
mov word [rax], r14w
mov qword [rbx + 0x10], r14
lea rdx, [0x1400f5a40]
lea r8, [0x1400f1524]
lea rcx, [0x14012c5c0]
call fcn.14004e590
test eax, eax
jne 0x140073142
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x140073053
cmp qword [rsp + 0x60], 0
jne 0x140073053
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [0x1400f1a08]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140073083
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14007307a
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
jmp 0x140073127
mov rcx, qword [rbx + 8]
lea rax, [rbp - 0x40]
cmp rcx, rax
je 0x1400730a2
lea r8, [r12 + r12]
lea rdx, [rbp - 0x40]
call fcn.1400d7a30
lea rcx, [r12 + r12]
mov rax, qword [rbx + 8]
mov word [rcx + rax], r14w
mov qword [rbx + 0x10], rcx
jmp 0x140073142
mov rcx, rbx
call fcn.1400243d0
test eax, eax
jne 0x140073142
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x1400730f7
cmp qword [rsp + 0x60], 0
jne 0x1400730f7
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [0x1400f1a08]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140073127
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x14007311e
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
mov qword [rsp + 0x30], r15
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007313b
call fcn.1400d6fc8
xor eax, eax
jmp 0x140073253
mov rax, qword [0x1401255c8]
mov dword [rax + 0x40], r14d
xor edx, edx
mov rcx, r13
call fcn.14004ced0
mov edi, eax
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14007318c
cmp qword [rsp + 0x60], 0
jne 0x14007318c
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [0x1400f1a08]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400731bc
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x1400731b3
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
jmp 0x14007323d
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov rcx, qword [0x1401255c8]
mov dword [rcx + 0x40], eax
mov dl, 1
mov rcx, r13
call fcn.14004ced0
mov edi, eax
lea rax, [0x1400f19e8]
mov qword [rsp + 0x30], rax
mov r8d, dword [rsp + 0x3c]
test r8d, r8d
je 0x14007320d
cmp qword [rsp + 0x60], 0
jne 0x14007320d
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [0x1400f1a08]
mov dword [rsp + 0x3c], r14d
mov word [rsp + 0x5c], r14w
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14007323d
mov eax, dword [rsp + 0x38]
and eax, 0x10000003
cmp eax, 0x10000000
je 0x140073234
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x70], 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x30], r15
test rcx, rcx
je 0x140073251
call fcn.1400d6fc8
mov eax, edi
lea r11, [rsp + 0x200c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret