Function at 0x140157fa0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb8
mov qword [rbp - 0x59], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov r13, rdx
mov r14, rcx
mov qword [rcx + 8], rdx
call fcn.14011ee20
mov byte [r14 + 0x18], al
lea rcx, [rbp - 0x51]
call fcn.1400ec3f0
mov r9, qword [rax + 8]
mov qword [r14 + 0xc8], r9
xor esi, esi
mov qword [rbp - 0x49], rsi
lea edx, [rsi + 0xc]
lea rcx, [rbp - 0x51]
call fcn.1402028a0
mov eax, dword [rbp - 0x49]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 0xc]
lea r8, str.Labels_Files
mov rcx, qword [rbp - 0x51]
call fcn.1402c06dc
lea edx, [rsi + 0xc]
lea rcx, [rbp - 0x51]
call fcn.140203bb0
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.1400f6d90
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [r14 + 0x80]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [r14 + 0x88]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [r14 + 0x80]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [r14 + 0x80]
call fcn.140203bb0
nop
cmp dword [rbp - 0x61], esi
jle 0x14015808d
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x49], 0
jle 0x14015809c
mov rcx, qword [rbp - 0x51]
call fcn.1402bd0e0
mov rdi, qword [0x14041eee8]
lea r15, [0x14034d1a0]
test rdi, rdi
jne 0x1401580b7
mov ebx, esi
mov qword [rbp - 0x61], rsi
jmp 0x1401580d2
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401580c0
mov qword [rbp - 0x61], rsi
test ebx, ebx
jne 0x1401580d8
mov qword [rbp - 0x69], r15
jmp 0x1401580fa
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x69]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.140203bb0
nop
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], rsi
xorps xmm0, xmm0
movss dword [rbp - 0x51], xmm0
mov edx, dword [rbp - 0x5d]
lea rcx, [rbp - 0x49]
call fcn.1402028a0
movsxd r9, dword [rbp - 0x5d]
mov eax, dword [rbp - 0x41]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x69]
mov rcx, qword [rbp - 0x49]
call fcn.1402c06dc
mov edx, dword [rbp - 0x5d]
lea rcx, [rbp - 0x49]
call fcn.140203bb0
mov dword [rbp - 0x39], 1
lea r8, [rbp - 0x51]
mov rdx, r13
lea rcx, [r13 + 0x360]
call fcn.14011b240
nop
cmp dword [rbp - 0x41], 0
jle 0x140158172
mov rcx, qword [rbp - 0x49]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x61], 0
jle 0x140158181
mov rcx, qword [rbp - 0x69]
call fcn.1402bd0e0
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, r14
lea r8, [0x1401585d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x69], rax
xor dil, dil
mov byte [rbp + 0x67], dil
mov qword [r14 + 0x90], 0
mov rcx, qword [r14 + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 8]
test al, al
je 0x140158385
movss xmm7, dword [0x140379568]
inc qword [r14 + 0x90]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
call fcn.1402bfd80
mov rbx, rax
mov qword [rbp + 0x7f], rax
lea rcx, [rax + 2]
mov r8d, 0x18
lea rdx, str.:Windows_servicingLCU_
call fcn.1402beee8
test eax, eax
je 0x14015835a
mov rcx, qword [r14 + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
test al, al
jne 0x140158236
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.140157c30
lea rcx, [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [r14 + 0x58]
lea rdx, [rbp + 0x7f]
call fcn.140008cf0
mov rcx, qword [r14 + 0x50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rcx, [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x20]
call fcn.1402dc840
movaps xmm6, xmm0
test dil, dil
jne 0x14015835a
ucomiss xmm6, xmm7
jp 0x140158288
jne 0x140158288
mov dil, 1
jmp 0x14015828b
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1f4
ja 0x1401582a6
test dil, dil
je 0x14015835a
mov esi, eax
mov r9, qword [r14 + 0x90]
mov r8, qword [r14 + 0x80]
lea rdx, str._s__I64d
lea rcx, [rbp - 0x51]
call fcn.140202d40
nop
lea rax, [0x14034d1a0]
mov qword [rbp - 0x29], rax
xor eax, eax
mov qword [rbp - 0x21], rax
movss dword [rbp - 0x31], xmm6
mov edx, dword [rbp - 0x45]
lea rcx, [rbp - 0x29]
call fcn.1402028a0
movsxd r9, dword [rbp - 0x45]
mov eax, dword [rbp - 0x21]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x51]
mov rcx, qword [rbp - 0x29]
call fcn.1402c06dc
mov edx, dword [rbp - 0x45]
lea rcx, [rbp - 0x29]
call fcn.140203bb0
mov dword [rbp - 0x19], 1
lea r8, [rbp - 0x31]
mov rdx, r13
lea rcx, [r13 + 0x360]
call fcn.14011b240
nop
cmp dword [rbp - 0x21], 0
jle 0x140158338
mov rcx, qword [rbp - 0x29]
call fcn.1402bd0e0
lea rcx, [r13 + 0x2c0]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
test al, al
jne 0x14015836d
cmp dword [rbp - 0x49], 0
jle 0x14015835a
mov rcx, qword [rbp - 0x51]
call fcn.1402bd0e0
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x140158385
jmp 0x1401581d2
mov dil, 1
mov byte [rbp + 0x67], dil
cmp dword [rbp - 0x49], 0
jle 0x140158388
mov rcx, qword [rbp - 0x51]
call fcn.1402bd0e0
jmp 0x140158388
xor dil, dil
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [r14 + 0x90]
mov dword [r13 + 0x4e0], eax
mov rax, qword [r14 + 0xf0]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1401584ab
mov rsi, qword [rbx + 0x28]
test dil, dil
jne 0x140158445
test rsi, rsi
jne 0x1401583cf
xor eax, eax
mov edi, eax
mov qword [rbp - 0x49], rax
jmp 0x1401583e7
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1401583d3
xor eax, eax
mov qword [rbp - 0x49], rax
test edi, edi
jne 0x1401583f4
lea rax, [0x14034d1a0]
mov qword [rbp - 0x51], rax
jmp 0x140158416
mov edx, edi
lea rcx, [rbp - 0x51]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rbp - 0x49]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x51]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rbp - 0x51]
call fcn.140203bb0
nop
mov r8b, 1
lea rdx, [rbp - 0x51]
mov rcx, r13
call fcn.1400fa8d0
nop
cmp dword [rbp - 0x49], 0
jle 0x140158441
mov rcx, qword [rbp - 0x51]
call fcn.1402bd0e0
movzx edi, byte [rbp + 0x67]
mov rcx, rsi
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015849e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015847e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015849e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140158470
jmp 0x14015849e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015849b
cmp rbx, qword [rax + 0x10]
jne 0x14015849b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140158488
mov rbx, rax
cmp rbx, qword [r14 + 0xf0]
jne 0x1401583b3
lea rcx, str._nWaiting_for_lookup_thread_to_finish..._n
call fcn.1402bd818
or edx, 0xffffffff
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test dil, dil
jne 0x1401585a5
lea rdi, [r14 + 0x98]
mov r8, r13
mov rdx, qword [rbp + 0x77]
mov rcx, rdi
call fcn.14015fd40
movzx r14d, al
mov rcx, qword [rdi]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x140158553
mov rcx, qword [rbx + 0x20]
call fcn.1402bd0e0
mov rcx, qword [rbx + 0x28]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x14015854e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015852e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015854e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140158520
jmp 0x14015854e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015854b
cmp rbx, qword [rax + 0x10]
jne 0x14015854b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140158538
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x1401584f2
mov rax, qword [rdi]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140158583
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.14021ae20
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140158563
mov rax, qword [rdi]
mov qword [rax + 8], rax
mov rax, qword [rdi]
mov qword [rax], rax
mov rax, qword [rdi]
mov qword [rax + 0x10], rax
mov qword [rdi + 8], 0
movzx eax, r14b
jmp 0x1401585a7
xor al, al
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret