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

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x468], rax
mov rbx, rdx
mov r15, rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov qword [rcx + 8], r12
test rdx, rdx
je 0x140075c5c
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140076379
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x450], rax
cmp rbx, 0x10000
jae 0x1400758ee
movzx edx, bx
lea rcx, [rsp + 0x450]
call fcn.140010ab0
mov rsi, 0xffffffffffffffff
jmp 0x14007591c
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140075900
mov rdx, rbx
lea rcx, [rsp + 0x450]
call fcn.140002a9c
nop
lea rcx, [rsp + 0x450]
call fcn.1400199f0
lea rdx, str.01234567890._
mov rbx, qword [rsp + 0x450]
mov rcx, rbx
call fcn.140229a24
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.140049eb0
nop
mov rdi, qword [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x3b0]
call fcn.14000953c
nop
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0xa0]
call fcn.140076850
nop
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
jb 0x1400759ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400759c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076384
call fcn.140004144
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x3c0], xmm0
mov word [rsp + 0x3b0], r12w
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.140050c50
movsxd r14, dword [rbx - 0x10]
test r14d, r14d
js 0x14007638a
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x140075a2d
mov edx, r14d
lea rcx, [rsp + 0x450]
call fcn.140002a38
mov rbx, qword [rsp + 0x450]
lea eax, [r14 + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14022ec24
cmp r14d, dword [rbx - 0xc]
jg 0x140076394
mov dword [rbx - 0x10], r14d
mov word [rbx + r14*2], r12w
cmp dword [rbx - 0x10], 0
jl 0x140075b42
lea rdx, [0x1402d2ab0]
mov rcx, rbx
call fcn.1402245c8
test rax, rax
je 0x140075a90
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140075a90
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d3528]
movsd qword [rsp + 0x38], xmm0
jmp 0x140075b48
cmp dword [rbx - 0x10], 0
jl 0x140075b42
lea rdx, [0x1402d2aa8]
mov rcx, rbx
call fcn.1402245c8
test rax, rax
je 0x140075ace
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140075ace
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d3538]
movsd qword [rsp + 0x38], xmm0
jmp 0x140075b48
cmp dword [rbx - 0x10], 0
jl 0x140075b42
lea rdx, [0x1402d2aa0]
mov rcx, rbx
call fcn.1402245c8
test rax, rax
je 0x140075b08
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140075b08
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d3548]
movsd qword [rsp + 0x38], xmm0
jmp 0x140075b48
cmp dword [rbx - 0x10], 0
jl 0x140075b42
lea rdx, [0x1402d2a98]
mov rcx, rbx
call fcn.1402245c8
test rax, rax
je 0x140075b42
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140075b42
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d3558]
movsd qword [rsp + 0x38], xmm0
jmp 0x140075b48
movsd xmm0, qword [rsp + 0x38]
xor ecx, ecx
movsd xmm1, qword [0x1402d3560]
comisd xmm0, xmm1
jb 0x140075b6f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x140075b6f
movabs rax, 0x8000000000000000
mov rcx, rax
cvttsd2si rax, xmm0
add rax, rcx
mov qword [r15 + 8], rax
mov r14b, 1
mov byte [rsp + 0x30], r14b
mov rax, qword [rsp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x9c], edx
lea rcx, [rsp + 0xb0]
call fcn.14001b030
mov rax, qword [rsp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rsp + rcx + 0x9c], edx
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x130], rax
lea rcx, [rsp + 0x130]
call fcn.140222b20
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140075c2c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x450]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140075c4c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x14007634d
call fcn.1400210a0
cmp dword [rax + 8], 2
jl 0x14007634d
call fcn.1400210a0
mov rdi, rax
lea rcx, [rsp + 0x190]
call fcn.1400194c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x3f0], xmm0
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 7
mov word [rsp + 0x3f0], r12w
lea rdx, str.WARN
lea rcx, [rsp + 0x3f0]
call fcn.140018440
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov rdx, r12
mov qword [rsp + 0x3a0], rdx
mov r8d, 7
mov qword [rsp + 0x3a8], r8
mov word [rsp + 0x390], r12w
mov ebx, r12d
cmp dword [rdi + 0x10], ebx
jle 0x140075d68
cmp ebx, 0xa
jge 0x140075d68
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x390]
cmp rax, 2
jb 0x140075d35
lea rax, [rdx + 2]
mov qword [rsp + 0x3a0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x390]
mov eax, dword [0x1402cca30]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r12w
jmp 0x140075d4f
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca30]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140075d68
mov r8, qword [rsp + 0x3a8]
mov rdx, qword [rsp + 0x3a0]
jmp 0x140075cf2
xorps xmm0, xmm0
movups xmmword [rsp + 0x3b0], xmm0
mov qword [rsp + 0x3c0], r12
mov qword [rsp + 0x3c8], 7
mov word [rsp + 0x3b0], r12w
movups xmmword [rsp + 0x3d0], xmm0
mov qword [rsp + 0x3e0], r12
mov qword [rsp + 0x3e8], 7
mov word [rsp + 0x3d0], r12w
call fcn.140230f0c
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x450]
call fcn.14023105c
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x3b0]
call fcn.140018440
lea rcx, [rsp + 0x290]
call fcn.1400194c0
nop
cmp dword [rdi + 0x14], 0
jne 0x140075e0f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.140012fa0
jmp 0x140075e35
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rsp + 0x2a0]
call fcn.140021a80
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x2a8]
call fcn.14001a0c0
nop
mov rdx, qword [rsp + 0x3e8]
cmp rdx, 8
jb 0x140075e93
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140075e8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007639f
call fcn.140004144
movups xmm0, xmmword [rsp + 0x410]
movups xmmword [rsp + 0x3d0], xmm0
movups xmm1, xmmword [rsp + 0x420]
movups xmmword [rsp + 0x3e0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x420], xmm0
mov word [rsp + 0x410], r12w
lea rcx, [rsp + 0x290]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x90]
call fcn.140222c18
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x80]
call fcn.140222c18
mov r8, rax
mov rax, qword [rsp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x1a0]
add rcx, rax
mov edx, dword [r8 + 8]
call qword [r8]
lea rdx, [rsp + 0x3b0]
cmp qword [rsp + 0x3c8], 8
cmovae rdx, qword [rsp + 0x3b0]
mov r8, qword [rsp + 0x3c0]
lea rcx, [rsp + 0x1a0]
call fcn.140016ce0
lea rdx, [0x1402cc568]
mov rcx, rax
call fcn.140016a20
mov rdi, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov edx, dword [rbx + 8]
call qword [rbx]
mov edx, 6
lea rcx, [rsp + 0x70]
call fcn.140222c40
mov r8, rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [r8 + 8]
call qword [r8]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov word [rcx + rdi + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x60]
call fcn.140222c2c
mov r8, rax
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov rdx, qword [r8 + 8]
call qword [r8]
lea rdx, [rsp + 0x3d0]
cmp qword [rsp + 0x3e8], 8
cmovae rdx, qword [rsp + 0x3d0]
mov r8, qword [rsp + 0x3e0]
mov rcx, rdi
call fcn.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.140222c40
mov rdi, rax
lea rdx, [0x1402cc568]
mov rcx, rbx
call fcn.140016a20
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140222c18
mov r8, rax
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [r8 + 8]
call qword [r8]
lea rdx, [rsp + 0x3f0]
cmp qword [rsp + 0x408], 8
cmovae rdx, qword [rsp + 0x3f0]
mov r8, qword [rsp + 0x400]
mov rcx, rbx
call fcn.140016ce0
lea rbx, [rsp + 0x390]
cmp qword [rsp + 0x3a8], 8
cmovae rbx, qword [rsp + 0x390]
lea rdx, [0x1402cca80]
mov rcx, rax
call fcn.140016a20
mov rcx, rax
mov rdx, rbx
call fcn.140016a20
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a09c], eax
jg 0x1400763a5
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x1a8]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140076132
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007612d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400763fe
call fcn.140004144
movups xmm0, xmmword [rsp + 0x430]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x440]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x440], xmm0
mov word [rsp + 0x430], r12w
mov rdx, qword [rsp + 0x3e8]
cmp rdx, 8
jb 0x1400761b2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400761ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076404
call fcn.140004144
mov qword [rsp + 0x3e0], r12
mov qword [rsp + 0x3e8], 7
mov word [rsp + 0x3d0], r12w
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
jb 0x140076217
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076212
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007640a
call fcn.140004144
mov qword [rsp + 0x3c0], r12
mov qword [rsp + 0x3c8], 7
mov word [rsp + 0x3b0], r12w
mov rdx, qword [rsp + 0x3a8]
cmp rdx, 8
jb 0x14007627c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076277
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076410
call fcn.140004144
mov qword [rsp + 0x3a0], r12
mov qword [rsp + 0x3a8], 7
mov word [rsp + 0x390], r12w
mov rdx, qword [rsp + 0x408]
cmp rdx, 8
jb 0x1400762e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400762dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076416
call fcn.140004144
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 7
mov word [rsp + 0x3f0], r12w
lea rcx, [rsp + 0x190]
call fcn.1400193b0
call fcn.1400210a0
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016ce0
lea rdx, str.NULL_parameter.
mov rcx, rax
call fcn.140016a20
mov rcx, rax
call fcn.140017c00
movzx eax, r14b
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1402202b0
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140002d6c
nop
call fcn.1402295a4
int3
mov ecx, 0x80070057
call fcn.140002d6c
mov ecx, 0x80070057
call fcn.140002d6c
nop
call fcn.1402295a4
nop
lea rcx, [0x14032a09c]
call fcn.1402205f4
cmp dword [0x14032a09c], 0xffffffff
jne 0x1400760d6
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3570]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], r12w
lea rcx, [0x14026e440]
call fcn.140220508
lea rcx, [0x14032a09c]
call fcn.140220588
nop
jmp 0x1400760d6
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
int3