Function at 0x140156550
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.14011d430
mov byte [r14 + 0x18], al
lea rcx, [rbp - 0x51]
call fcn.1400eae80
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.1401ff260
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.1402bd21c
lea edx, [rsi + 0xc]
lea rcx, [rbp - 0x51]
call fcn.140200570
nop
lea rdx, [rbp - 0x51]
lea rcx, [rbp - 0x69]
call fcn.1400f57b0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [r14 + 0x80]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [r14 + 0x80]
call fcn.140200570
nop
cmp dword [rbp - 0x61], esi
jle 0x14015663d
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x49], 0
jle 0x14015664c
mov rcx, qword [rbp - 0x51]
call fcn.1402b9c20
mov rdi, qword [0x14041a158]
lea r15, [0x140348ca0]
test rdi, rdi
jne 0x140156667
mov ebx, esi
mov qword [rbp - 0x61], rsi
jmp 0x140156682
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140156670
mov qword [rbp - 0x61], rsi
test ebx, ebx
jne 0x140156688
mov qword [rbp - 0x69], r15
jmp 0x1401566aa
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rbp - 0x61]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x69]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rbp - 0x69]
call fcn.140200570
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.1401ff260
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.1402bd21c
mov edx, dword [rbp - 0x5d]
lea rcx, [rbp - 0x49]
call fcn.140200570
mov dword [rbp - 0x39], 1
lea r8, [rbp - 0x51]
mov rdx, r13
lea rcx, [r13 + 0x358]
call fcn.140119850
nop
cmp dword [rbp - 0x41], 0
jle 0x140156722
mov rcx, qword [rbp - 0x49]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x61], 0
jle 0x140156731
mov rcx, qword [rbp - 0x69]
call fcn.1402b9c20
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, r14
lea r8, [0x140156b80]
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 0x140156935
movss xmm7, dword [0x140374998]
inc qword [r14 + 0x90]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
call fcn.1402bc8c0
mov rbx, rax
mov qword [rbp + 0x7f], rax
lea rcx, [rax + 2]
mov r8d, 0x18
lea rdx, str.:Windows_servicingLCU_
call fcn.1402bba28
test eax, eax
je 0x14015690a
mov rcx, qword [r14 + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
test al, al
jne 0x1401567e6
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rdx, rax
mov r8, rbx
mov rcx, r14
call fcn.1401561e0
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.1402d91f0
movaps xmm6, xmm0
test dil, dil
jne 0x14015690a
ucomiss xmm6, xmm7
jp 0x140156838
jne 0x140156838
mov dil, 1
jmp 0x14015683b
xor dil, dil
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1f4
ja 0x140156856
test dil, dil
je 0x14015690a
mov esi, eax
mov r9, qword [r14 + 0x90]
mov r8, qword [r14 + 0x80]
lea rdx, str._s__I64d
lea rcx, [rbp - 0x51]
call fcn.1401ff700
nop
lea rax, [0x140348ca0]
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.1401ff260
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.1402bd21c
mov edx, dword [rbp - 0x45]
lea rcx, [rbp - 0x29]
call fcn.140200570
mov dword [rbp - 0x19], 1
lea r8, [rbp - 0x31]
mov rdx, r13
lea rcx, [r13 + 0x358]
call fcn.140119850
nop
cmp dword [rbp - 0x21], 0
jle 0x1401568e8
mov rcx, qword [rbp - 0x29]
call fcn.1402b9c20
lea rcx, [r13 + 0x2b8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
test al, al
jne 0x14015691d
cmp dword [rbp - 0x49], 0
jle 0x14015690a
mov rcx, qword [rbp - 0x51]
call fcn.1402b9c20
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x140156935
jmp 0x140156782
mov dil, 1
mov byte [rbp + 0x67], dil
cmp dword [rbp - 0x49], 0
jle 0x140156938
mov rcx, qword [rbp - 0x51]
call fcn.1402b9c20
jmp 0x140156938
xor dil, dil
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [r14 + 0x90]
mov dword [r13 + 0x4d8], eax
mov rax, qword [r14 + 0xf0]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140156a5b
mov rsi, qword [rbx + 0x28]
test dil, dil
jne 0x1401569f5
test rsi, rsi
jne 0x14015697f
xor eax, eax
mov edi, eax
mov qword [rbp - 0x49], rax
jmp 0x140156997
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140156983
xor eax, eax
mov qword [rbp - 0x49], rax
test edi, edi
jne 0x1401569a4
lea rax, [0x140348ca0]
mov qword [rbp - 0x51], rax
jmp 0x1401569c6
mov edx, edi
lea rcx, [rbp - 0x51]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rbp - 0x49]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x51]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rbp - 0x51]
call fcn.140200570
nop
mov r8b, 1
lea rdx, [rbp - 0x51]
mov rcx, r13
call fcn.1400f92f0
nop
cmp dword [rbp - 0x49], 0
jle 0x1401569f1
mov rcx, qword [rbp - 0x51]
call fcn.1402b9c20
movzx edi, byte [rbp + 0x67]
mov rcx, rsi
call fcn.1402b9c20
cmp byte [rbx + 0x19], 0
jne 0x140156a4e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140156a2e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140156a4e
nop dword [rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140156a20
jmp 0x140156a4e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140156a4b
cmp rbx, qword [rax + 0x10]
jne 0x140156a4b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140156a38
mov rbx, rax
cmp rbx, qword [r14 + 0xf0]
jne 0x140156963
lea rcx, str._nWaiting_for_lookup_thread_to_finish..._n
call fcn.1402ba358
or edx, 0xffffffff
mov rcx, qword [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test dil, dil
jne 0x140156b55
lea rdi, [r14 + 0x98]
mov r8, r13
mov rdx, qword [rbp + 0x77]
mov rcx, rdi
call fcn.14015e2f0
movzx r14d, al
mov rcx, qword [rdi]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x140156b03
mov rcx, qword [rbx + 0x20]
call fcn.1402b9c20
mov rcx, qword [rbx + 0x28]
call fcn.1402b9c20
cmp byte [rbx + 0x19], 0
jne 0x140156afe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140156ade
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140156afe
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140156ad0
jmp 0x140156afe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140156afb
cmp rbx, qword [rax + 0x10]
jne 0x140156afb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140156ae8
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x140156aa2
mov rax, qword [rdi]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140156b33
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140156b13
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 0x140156b57
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