Function at 0x1401552b0
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, 0xa8
mov qword [rbp - 0x39], 0xfffffffffffffffe
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov r12, r8
mov r13, rdx
mov r14, rcx
mov qword [rcx + 8], rdx
call fcn.14011c1b0
mov byte [r14 + 0x18], al
lea rcx, [rbp - 0x31]
call fcn.1400e9be0
mov r9, qword [rax + 8]
mov qword [r14 + 0xc8], r9
xor esi, esi
mov qword [rbp - 0x51], rsi
lea edx, [rsi + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
lea r9d, [rsi + 0xc]
lea r8, str.Labels_Files
mov rcx, qword [rbp - 0x59]
call fcn.1402ba94c
lea edx, [rsi + 0xc]
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.1400f4800
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [r14 + 0x80]
call fcn.1401fcb40
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.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [r14 + 0x80]
call fcn.1401fde50
nop
cmp dword [rbp - 0x29], esi
jle 0x1401553a0
mov rcx, qword [rbp - 0x31]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x1401553af
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
mov rdi, qword [0x140416ee8]
lea r15, [0x140346ce0]
test rdi, rdi
jne 0x1401553ca
mov ebx, esi
mov qword [rbp - 0x51], rsi
jmp 0x1401553e2
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1401553d0
mov qword [rbp - 0x51], rsi
test ebx, ebx
jne 0x1401553e8
mov qword [rbp - 0x59], r15
jmp 0x14015540a
mov edx, ebx
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
mov r8, rdi
mov rcx, qword [rbp - 0x59]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
mov qword [rbp - 0x29], r15
mov qword [rbp - 0x21], rsi
xorps xmm0, xmm0
movss dword [rbp - 0x31], xmm0
mov edx, dword [rbp - 0x4d]
lea rcx, [rbp - 0x29]
call fcn.1401fcb40
movsxd r9, dword [rbp - 0x4d]
mov eax, dword [rbp - 0x21]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x29]
call fcn.1402ba94c
mov edx, dword [rbp - 0x4d]
lea rcx, [rbp - 0x29]
call fcn.1401fde50
mov dword [rbp - 0x19], 1
lea rcx, [r13 + 0x358]
lea r8, [rbp - 0x31]
mov rdx, r13
call fcn.1401185d0
nop
cmp dword [rbp - 0x21], 0
jle 0x140155482
mov rcx, qword [rbp - 0x29]
call fcn.1402b7350
nop
cmp dword [rbp - 0x51], 0
jle 0x140155491
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
mov r9, r14
lea r8, [0x1401558e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
mov qword [rbp + 0x7f], rax
xor bl, bl
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 0x14015568c
movss xmm7, dword [0x140372188]
nop word [rax + rax]
inc qword [r14 + 0x90]
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rax
call fcn.1402b9ff0
mov rdi, rax
mov qword [rbp - 0x59], rax
mov rcx, qword [r14 + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x28]
test al, al
jne 0x140155536
mov rcx, qword [r14 + 0x20]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov rdx, rax
mov r8, rdi
mov rcx, r14
call fcn.140154f40
lea rcx, [r14 + 0x28]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rdx, [rbp - 0x59]
lea rcx, [r14 + 0x58]
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.1402d6b10
movaps xmm6, xmm0
test bl, bl
jne 0x140155656
ucomiss xmm6, xmm7
jp 0x140155586
jne 0x140155586
mov bl, 1
jmp 0x140155588
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp ecx, 0x1f4
ja 0x1401555a2
test bl, bl
je 0x140155656
mov esi, eax
mov r9, qword [r14 + 0x90]
mov r8, qword [r14 + 0x80]
lea rdx, str._s__I64d
lea rcx, [rbp - 0x31]
call fcn.1401fcfe0
nop
lea rax, [0x140346ce0]
mov qword [rbp - 0x51], rax
xor eax, eax
mov qword [rbp - 0x49], rax
movss dword [rbp - 0x59], xmm6
mov edx, dword [rbp - 0x25]
lea rcx, [rbp - 0x51]
call fcn.1401fcb40
movsxd r9, dword [rbp - 0x25]
mov eax, dword [rbp - 0x49]
inc eax
movsxd rdx, eax
mov r8, qword [rbp - 0x31]
mov rcx, qword [rbp - 0x51]
call fcn.1402ba94c
mov edx, dword [rbp - 0x25]
lea rcx, [rbp - 0x51]
call fcn.1401fde50
mov dword [rbp - 0x41], 1
lea r8, [rbp - 0x59]
mov rdx, r13
lea rcx, [r13 + 0x358]
call fcn.1401185d0
nop
cmp dword [rbp - 0x49], 0
jle 0x140155634
mov rcx, qword [rbp - 0x51]
call fcn.1402b7350
lea rcx, [r13 + 0x2b8]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 8]
test al, al
jne 0x140155669
cmp dword [rbp - 0x29], 0
jle 0x140155656
mov rcx, qword [rbp - 0x31]
call fcn.1402b7350
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
je 0x140155681
jmp 0x1401554f0
mov dil, 1
mov byte [rbp + 0x67], dil
cmp dword [rbp - 0x29], 0
jle 0x140155684
mov rcx, qword [rbp - 0x31]
call fcn.1402b7350
jmp 0x140155684
xor dil, dil
mov r15, qword [rbp + 0x7f]
mov r12, qword [rbp + 0x77]
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 0x1401557af
lea r12, [0x140346ce0]
nop
mov rsi, qword [rbx + 0x28]
test dil, dil
jne 0x14015574b
test rsi, rsi
jne 0x1401556dc
xor eax, eax
mov edi, eax
mov qword [rbp - 0x51], rax
jmp 0x1401556f4
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x1401556e0
xor eax, eax
mov qword [rbp - 0x51], rax
test edi, edi
jne 0x1401556fa
mov qword [rbp - 0x59], r12
jmp 0x14015571c
mov edx, edi
lea rcx, [rbp - 0x59]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rbp - 0x51]
inc eax
movsxd rdx, eax
mov r8, rsi
mov rcx, qword [rbp - 0x59]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rbp - 0x59]
call fcn.1401fde50
nop
mov r8b, 1
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.1400f8340
nop
cmp dword [rbp - 0x51], 0
jle 0x140155747
mov rcx, qword [rbp - 0x59]
call fcn.1402b7350
movzx edi, byte [rbp + 0x67]
mov rcx, rsi
call fcn.1402b7350
cmp byte [rbx + 0x19], 0
jne 0x14015579e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015577e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015579e
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140155770
jmp 0x14015579e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015579b
cmp rbx, qword [rax + 0x10]
jne 0x14015579b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140155788
mov rbx, rax
cmp rbx, qword [r14 + 0xf0]
jne 0x1401556c0
mov r12, qword [rbp + 0x77]
lea rcx, str._nWaiting_for_lookup_thread_to_finish..._n
call fcn.1402b7a88
or edx, 0xffffffff
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test dil, dil
jne 0x1401558b2
lea rdi, [r14 + 0x98]
mov r8, r13
mov rdx, r12
mov rcx, rdi
call fcn.14015d060
movzx r14d, al
mov rcx, qword [rdi]
mov rbx, qword [rcx]
cmp rbx, rcx
je 0x14015585b
mov rcx, qword [rbx + 0x20]
call fcn.1402b7350
mov rcx, qword [rbx + 0x28]
call fcn.1402b7350
cmp byte [rbx + 0x19], 0
jne 0x140155856
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140155830
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140155856
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140155822
jmp 0x140155856
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140155853
nop word [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x140155853
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140155840
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x1401557f4
mov rax, qword [rdi]
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140155890
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rcx, rdi
call fcn.140009de0
mov rbx, qword [rbx]
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140155870
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 0x1401558b4
xor al, al
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret