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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rbp + 0x278], rax
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], r14
mov qword [rcx + 0x20], 7
mov word [rcx + 8], r14w
lea rax, vtable.srl::SetupLib.0
mov qword [rcx], rax
mov byte [rcx + 0x28], r14b
mov qword [rcx + 0x30], r14
call fcn.14005a150
test al, al
jne 0x14005a018
call fcn.1400210a0
cmp dword [rax + 8], 1
jl 0x14005a018
call fcn.1400210a0
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.1400194c0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], r14w
lea rdx, [0x1402cca68]
lea rcx, [rbp + 0x200]
call fcn.140018440
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov edx, r14d
mov qword [rbp + 0x1b0], rdx
mov r8d, 7
mov qword [rbp + 0x1b8], r8
mov word [rbp + 0x1a0], r14w
mov ebx, r14d
cmp dword [rdi + 0x10], r14d
jle 0x140059aa1
nop word [rax + rax]
cmp ebx, 0xa
jge 0x140059aa1
mov rax, r8
sub rax, rdx
lea rcx, [rbp + 0x1a0]
cmp rax, 2
jb 0x140059a70
lea rax, [rdx + 2]
mov qword [rbp + 0x1b0], rax
cmp r8, 8
cmovae rcx, qword [rbp + 0x1a0]
mov eax, dword [0x1402cca30]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r14w
jmp 0x140059a8a
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca30]
mov edx, 2
call fcn.140022090
inc ebx
cmp ebx, dword [rdi + 0x10]
jge 0x140059aa1
mov r8, qword [rbp + 0x1b8]
mov rdx, qword [rbp + 0x1b0]
jmp 0x140059a30
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], r14w
movups xmmword [rbp + 0x1c0], xmm0
mov qword [rbp + 0x1d0], r14
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r14w
call fcn.140230f0c
mov edx, VariantTimeToDosDateTime
lea rcx, [rbp + 0x260]
call fcn.14023105c
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x1e0]
call fcn.140018440
lea rcx, [rbp + 0xa0]
call fcn.1400194c0
nop
cmp dword [rdi + 0x14], 0
jne 0x140059b3b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rdi + 0x14], eax
xor edx, edx
lea rcx, [rbp + 0xb0]
call fcn.140012fa0
jmp 0x140059b60
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rbp + 0xb0]
call fcn.140021a80
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0xb8]
call fcn.14001a0c0
nop
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x140059bba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059bb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a048
call fcn.140004144
movups xmm0, xmmword [rbp + 0x220]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rbp + 0x230]
movups xmmword [rbp + 0x1d0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rbp + 0x230], xmm0
mov word [rbp + 0x220], r14w
lea rcx, [rbp + 0xa0]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x40]
call fcn.140222c18
mov rbx, rax
mov edx, 0x2040
lea rcx, [rsp + 0x50]
call fcn.140222c18
mov rcx, qword [rbp - 0x50]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x50]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 8
cmovae rdx, qword [rbp + 0x1e0]
mov r8, qword [rbp + 0x1f0]
lea rcx, [rbp - 0x50]
call fcn.140016ce0
lea rdx, [0x1402cc568]
mov rcx, rax
call fcn.140016a20
mov rdi, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov edx, dword [rbx + 8]
call qword [rbx]
mov edx, 6
lea rcx, [rsp + 0x60]
call fcn.140222c40
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rdi]
movsxd rcx, dword [rax + 4]
mov word [rcx + rdi + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x70]
call fcn.140222c2c
mov rcx, qword [rdi]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 8
cmovae rdx, qword [rbp + 0x1c0]
mov r8, qword [rbp + 0x1d0]
mov rcx, rdi
call fcn.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rbp - 0x80]
call fcn.140222c40
mov rdi, rax
lea rdx, [0x1402cc568]
mov rcx, rbx
call fcn.140016a20
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [rdi + 8]
call qword [rdi]
mov rcx, qword [rbx]
movsxd rdx, dword [rcx + 4]
mov word [rdx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rbp - 0x70]
call fcn.140222c18
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 8
cmovae rdx, qword [rbp + 0x200]
mov r8, qword [rbp + 0x210]
mov rcx, rbx
call fcn.140016ce0
lea rbx, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae rbx, qword [rbp + 0x1a0]
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 0x14005a04e
lea rdx, [rbp + 0x240]
lea rcx, [rbp - 0x48]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x140059e18
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a0a6
call fcn.140004144
movups xmm0, xmmword [rbp + 0x240]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rbp + 0x250]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rbp + 0x250], xmm0
mov word [rbp + 0x240], r14w
mov rdx, qword [rbp + 0x1d8]
cmp rdx, 8
jb 0x140059e92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059e8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a0ac
call fcn.140004144
mov qword [rbp + 0x1d0], r14
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], r14w
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 8
jb 0x140059ef2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059eed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a0b2
call fcn.140004144
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x1f8], 7
mov word [rbp + 0x1e0], r14w
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 8
jb 0x140059f52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059f4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a0b8
call fcn.140004144
mov qword [rbp + 0x1b0], r14
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], r14w
mov rdx, qword [rbp + 0x218]
cmp rdx, 8
jb 0x140059fb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a042
call fcn.140004144
mov qword [rbp + 0x210], r14
mov qword [rbp + 0x218], 7
mov word [rbp + 0x200], r14w
lea rcx, [rbp - 0x60]
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.Failure_to_initialize_SetupLib_class
mov rcx, rax
call fcn.140016a20
mov rcx, rax
call fcn.140017c00
nop
mov rax, rsi
mov rcx, qword [rbp + 0x278]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1402295a4
nop
call fcn.1402295a4
nop
lea rcx, [0x14032a09c]
call fcn.1402205f4
cmp dword [0x14032a09c], 0xffffffff
jne 0x140059dc1
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3570]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], r14w
lea rcx, [0x14026e440]
call fcn.140220508
lea rcx, [0x14032a09c]
call fcn.140220588
jmp 0x140059dc1
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
int3