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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, rcx
lea r15, [0x1400020f8]
mov qword [rbp - 0x38], r15
lea r12, [0x140002138]
mov qword [rbp - 0x30], r12
lea r13, [0x1400020e0]
mov qword [rbp - 0x28], r13
mov dword [rbp - 0x20], 0x140
mov dword [rbp - 0x1c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x18], 0xff
xor r14d, r14d
mov dword [rbp + 0x68], 0x1000000
xor edx, edx
lea r8d, [r14 + 0x78]
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], r14d
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x1c]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov dword [rbp - 0x7c], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], r14d
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
mov qword [rbp + 0x2a0], r14
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x140057e61
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x140057e61
mov rax, qword [rbp + 0x2a0]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140057e6a
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
mov ebx, dword [rbp - 0x78]
cmp ebx, 0xff
jne 0x140057ce9
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14006a604
cmp byte [rbp + 0x6b], r14b
je 0x140057d25
lea rbx, [rbp - 0x10]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14006a66f
add rbx, 8
dec rdi
jne 0x140057d10
mov ebx, 2
mov ecx, dword [rsi + 0x28]
test ecx, ecx
jne 0x14006a67d
xor eax, eax
lock cmpxchg dword [rsi + 0x28], ebx
jne 0x140057d2a
mov edx, 0x80000400
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
je 0x14006a77b
mov dword [rsi + 0x28], 1
mov rbx, r14
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x70], r14
inc rbx
cmp rbx, 4
jl 0x140057d5e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rbp - 0x78]
cmp r8d, 0xff
jne 0x140057dff
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ecx
lea r9, [0x1400043e0]
lea rdx, [0x1400043d0]
lea rcx, [rsp + 0x50]
call fcn.140051070
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
lea r11, [rsp + 0x370]
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
mov rax, qword [rbp - 0x50]
jmp 0x140057cc8
mov dword [rbp - 0x80], r14d
jmp 0x140057cd9
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140057cfb
lea rcx, [rsp + 0x50]
call fcn.140103ce0
cmp dword [rsp + 0x50], r14d
je 0x140057cfb
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
lea rax, [0x1400043c0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x140057cfb
call qword [sym.imp.api_ms_win_core_com_l1_1_1.dll_CoTaskMemFree]
mov qword [rbx], r14
jmp 0x140057d1c
dec ecx
je 0x14006a76b
dec ecx
jne 0x14006a69a
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop
jmp 0x140057d2a
xor edx, edx
lea r8d, [rdx + 0x78]
dec ecx
je 0x14006a70c
mov qword [rbp + 0x118], r15
mov qword [rbp + 0x120], r12
mov qword [rbp + 0x128], r13
mov dword [rbp + 0x130], 0x16b
mov dword [rbp + 0x134], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0x138], 0xff
mov dword [rbp + 0x1b8], 0x1000000
lea rcx, [rbp + 0x140]
call sub.msvcrt.dll_memset
lea r9, [0x14000da78]
mov r8d, 0x8000ffff
lea rdx, [rbp + 0x118]
lea rcx, [rsp + 0x50]
call fcn.140101d5c
int3
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], r12
mov qword [rbp + 0x80], r13
mov dword [rbp + 0x88], 0x167
mov dword [rbp + 0x8c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0x90], 0xff
mov dword [rbp + 0x110], 0x1000000
lea rcx, [rbp + 0x98]
call sub.msvcrt.dll_memset
lea r9, [0x14000da48]
mov r8d, 0x8007000e
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140101d5c
nop
lea rcx, [rsp + 0x50]
call fcn.140050f50
nop
jmp 0x140057e40
mov dword [rsi + 0x28], 3
mov qword [rbp + 0x1c0], r15
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], r13
mov dword [rbp + 0x1d8], 0x152
mov dword [rbp + 0x1dc], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0x1e0], 0xff
mov dword [rbp + 0x260], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0x1e8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r8d, eax
lea r9, [0x14000d9d0]
lea rdx, [rbp + 0x1c0]
lea rcx, [rsp + 0x50]
call fcn.1401027cc
int3