Function at 0x140076400
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 0x1400767fc
call fcn.1400102e4
mov rcx, rax
test rax, rax
je 0x140076f19
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x450], rax
cmp rbx, 0x10000
jae 0x14007648e
movzx edx, bx
lea rcx, [rsp + 0x450]
call fcn.140010b40
mov rsi, 0xffffffffffffffff
jmp 0x1400764bc
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400764a0
mov rdx, rbx
lea rcx, [rsp + 0x450]
call fcn.140002b2c
nop
lea rcx, [rsp + 0x450]
call fcn.140019a80
lea rdx, str.01234567890._
mov rbx, qword [rsp + 0x450]
mov rcx, rbx
call fcn.14022a5c4
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call fcn.14004a280
nop
mov rdi, qword [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x3b0]
call fcn.1400095cc
nop
lea rdx, [rsp + 0x3b0]
lea rcx, [rsp + 0xa0]
call fcn.1400773f0
nop
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
jb 0x14007656a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f24
call fcn.1400041d4
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x3c0], xmm0
mov word [rsp + 0x3b0], r12w
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.1400517f0
movsxd r14, dword [rbx - 0x10]
test r14d, r14d
js 0x140076f2a
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x1400765cd
mov edx, r14d
lea rcx, [rsp + 0x450]
call fcn.140002ac8
mov rbx, qword [rsp + 0x450]
lea eax, [r14 + 1]
movsxd rdx, eax
mov rcx, rbx
call fcn.14022f7c4
cmp r14d, dword [rbx - 0xc]
jg 0x140076f34
mov dword [rbx - 0x10], r14d
mov word [rbx + r14*2], r12w
cmp dword [rbx - 0x10], 0
jl 0x1400766e2
lea rdx, [0x1402d2b60]
mov rcx, rbx
call fcn.140225168
test rax, rax
je 0x140076630
sub rax, rbx
sar rax, 1
test eax, eax
js 0x140076630
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d35d8]
movsd qword [rsp + 0x38], xmm0
jmp 0x1400766e8
cmp dword [rbx - 0x10], 0
jl 0x1400766e2
lea rdx, [0x1402d2b58]
mov rcx, rbx
call fcn.140225168
test rax, rax
je 0x14007666e
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14007666e
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d35e8]
movsd qword [rsp + 0x38], xmm0
jmp 0x1400766e8
cmp dword [rbx - 0x10], 0
jl 0x1400766e2
lea rdx, [0x1402d2b50]
mov rcx, rbx
call fcn.140225168
test rax, rax
je 0x1400766a8
sub rax, rbx
sar rax, 1
test eax, eax
js 0x1400766a8
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d35f8]
movsd qword [rsp + 0x38], xmm0
jmp 0x1400766e8
cmp dword [rbx - 0x10], 0
jl 0x1400766e2
lea rdx, [0x1402d2b48]
mov rcx, rbx
call fcn.140225168
test rax, rax
je 0x1400766e2
sub rax, rbx
sar rax, 1
test eax, eax
js 0x1400766e2
movsd xmm0, qword [rsp + 0x38]
mulsd xmm0, qword [0x1402d3608]
movsd qword [rsp + 0x38], xmm0
jmp 0x1400766e8
movsd xmm0, qword [rsp + 0x38]
xor ecx, ecx
movsd xmm1, qword [0x1402d3610]
comisd xmm0, xmm1
jb 0x14007670f
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14007670f
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.14001b0c0
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.1402236c0
nop
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400767cc
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 0x1400767ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140076eed
call fcn.140021130
cmp dword [rax + 8], 2
jl 0x140076eed
call fcn.140021130
mov rdi, rax
lea rcx, [rsp + 0x190]
call fcn.140019550
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.1400184d0
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 0x140076908
cmp ebx, 0xa
jge 0x140076908
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x390]
cmp rax, 2
jb 0x1400768d5
lea rax, [rdx + 2]
mov qword [rsp + 0x3a0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x390]
mov eax, dword [0x1402cca20]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r12w
jmp 0x1400768ef
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca20]
mov edx, 2
call fcn.140022120
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140076908
mov r8, qword [rsp + 0x3a8]
mov rdx, qword [rsp + 0x3a0]
jmp 0x140076892
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.140231aac
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x450]
call fcn.140231bfc
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x3b0]
call fcn.1400184d0
lea rcx, [rsp + 0x290]
call fcn.140019550
nop
cmp dword [rdi + 0x14], 0
jne 0x1400769af
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.140013030
jmp 0x1400769d5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d35d0]
lea rcx, [rsp + 0x2a0]
call fcn.140021b10
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x2a8]
call fcn.14001a150
nop
mov rdx, qword [rsp + 0x3e8]
cmp rdx, 8
jb 0x140076a33
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076a2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f3f
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x410]
movups xmmword [rsp + 0x3d0], xmm0
movups xmm1, xmmword [rsp + 0x420]
movups xmmword [rsp + 0x3e0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x420], xmm0
mov word [rsp + 0x410], r12w
lea rcx, [rsp + 0x290]
call fcn.140019440
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x90]
call fcn.1402237b8
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x80]
call fcn.1402237b8
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.140016d70
lea rdx, [0x1402cc558]
mov rcx, rax
call fcn.140016ab0
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.1402237e0
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.1402237cc
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.140016d70
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x50]
call fcn.1402237e0
mov rdi, rax
lea rdx, [0x1402cc558]
mov rcx, rbx
call fcn.140016ab0
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.1402237b8
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.140016d70
lea rbx, [rsp + 0x390]
cmp qword [rsp + 0x3a8], 8
cmovae rbx, qword [rsp + 0x390]
lea rdx, [0x1402cca70]
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
mov rdx, rbx
call fcn.140016ab0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a0a4], eax
jg 0x140076f45
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x1a8]
call fcn.14001a150
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140076cd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076ccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076f9e
call fcn.1400041d4
movups xmm0, xmmword [rsp + 0x430]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x440]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3620]
movdqu xmmword [rsp + 0x440], xmm0
mov word [rsp + 0x430], r12w
mov rdx, qword [rsp + 0x3e8]
cmp rdx, 8
jb 0x140076d52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076d4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076fa4
call fcn.1400041d4
mov qword [rsp + 0x3e0], r12
mov qword [rsp + 0x3e8], 7
mov word [rsp + 0x3d0], r12w
mov rdx, qword [rsp + 0x3c8]
cmp rdx, 8
jb 0x140076db7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076faa
call fcn.1400041d4
mov qword [rsp + 0x3c0], r12
mov qword [rsp + 0x3c8], 7
mov word [rsp + 0x3b0], r12w
mov rdx, qword [rsp + 0x3a8]
cmp rdx, 8
jb 0x140076e1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x390]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076fb0
call fcn.1400041d4
mov qword [rsp + 0x3a0], r12
mov qword [rsp + 0x3a8], 7
mov word [rsp + 0x390], r12w
mov rdx, qword [rsp + 0x408]
cmp rdx, 8
jb 0x140076e81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x3f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140076fb6
call fcn.1400041d4
mov qword [rsp + 0x400], r12
mov qword [rsp + 0x408], 7
mov word [rsp + 0x3f0], r12w
lea rcx, [rsp + 0x190]
call fcn.140019440
call fcn.140021130
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016d70
lea rdx, str.NULL_parameter.
mov rcx, rax
call fcn.140016ab0
mov rcx, rax
call fcn.140017c90
movzx eax, r14b
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140220e50
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x470
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov ecx, 0x80004005
call fcn.140002dfc
nop
call fcn.14022a144
int3
mov ecx, 0x80070057
call fcn.140002dfc
mov ecx, 0x80070057
call fcn.140002dfc
nop
call fcn.14022a144
nop
lea rcx, [0x14032a0a4]
call fcn.140221194
cmp dword [0x14032a0a4], 0xffffffff
jne 0x140076c76
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3620]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], r12w
lea rcx, [0x14026f080]
call fcn.1402210a8
lea rcx, [0x14032a0a4]
call fcn.140221128
nop
jmp 0x140076c76
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
nop
call fcn.14022a144
int3