Function at 0x1402fd830
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x78
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov edi, r9d
mov rbx, r8
mov dword [rbp - 0x58], edx
mov r12, rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [case.0x14004487d.0]
test eax, eax
je 0x1402fdb14
cmp qword [r12 + 0x19f0], 0
je 0x1402fdb14
mov edx, 0xffffffff
mov rcx, qword [r12 + 0x578]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor r13d, r13d
test rbx, rbx
je 0x1402fd8c4
test edi, edi
je 0x1402fd8c4
mov rcx, qword [r12 + 0x19f0]
inc rcx
cmp rbx, rcx
je 0x1402fd8c4
mov r8d, edi
mov rdx, rbx
call fcn.140222330
mov rcx, r12
call fcn.1402fe040
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov rdx, r13
mov qword [rbp - 0x18], rdx
mov rax, qword [r12 + 0x19d0]
mov rbx, qword [rax]
mov rsi, qword [rbp - 0x20]
cmp rbx, rax
je 0x1402fd98d
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1402fd92a
cmp rdx, rsi
je 0x1402fd912
mov qword [rsi], rax
add rsi, 8
mov qword [rbp - 0x20], rsi
jmp 0x1402fd92a
lea r8, [rbp - 0x50]
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.14003f290
mov rdx, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x20]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1402fd958
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1402fd953
nop
cmp rbx, qword [rax + 0x10]
jne 0x1402fd953
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1402fd940
mov rbx, rax
jmp 0x1402fd97f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1402fd97f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1402fd970
cmp rbx, qword [r12 + 0x19d0]
jne 0x1402fd8f3
mov r15, qword [rbp - 0x28]
sub rsi, r15
sar rsi, 3
test rsi, rsi
je 0x1402fd9b6
mov ebx, r13d
test esi, esi
je 0x1402fd9b6
mov ecx, ebx
mov rcx, qword [r15 + rcx*8]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
inc ebx
cmp ebx, esi
jb 0x1402fd9a4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov rdx, r13
mov qword [rbp - 0x30], rdx
mov rax, qword [r12 + 0x19e0]
mov rbx, qword [rax]
mov rdi, qword [rbp - 0x38]
cmp rbx, rax
je 0x1402fda7d
nop dword [rax]
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1402fda17
cmp rdx, rdi
je 0x1402fd9ff
mov qword [rdi], rax
add rdi, 8
mov qword [rbp - 0x38], rdi
jmp 0x1402fda17
lea r8, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x40]
call fcn.14003f290
mov rdx, qword [rbp - 0x30]
mov rdi, qword [rbp - 0x38]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1402fda48
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1402fda43
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1402fda43
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1402fda30
mov rbx, rax
jmp 0x1402fda6f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x1402fda6f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1402fda60
cmp rbx, qword [r12 + 0x19e0]
jne 0x1402fd9e0
mov r14, qword [rbp - 0x40]
sub rdi, r14
sar rdi, 3
test rdi, rdi
je 0x1402fdaaf
mov ebx, r13d
test edi, edi
je 0x1402fdaab
mov eax, ebx
mov rcx, qword [r14 + rax*8]
test rcx, rcx
je 0x1402fdaa5
call qword [sym.imp.KERNEL32.dll_SetEvent]
inc ebx
cmp ebx, edi
jb 0x1402fda94
mov qword [rbp - 0x38], r14
test rsi, rsi
je 0x1402fdaed
mov r9d, dword [rbp - 0x58]
imul r9d, esi
mov r8d, 1
mov rdx, r15
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0x102
je 0x1402fdadc
mov r13d, 1
jmp 0x1402fdae9
lea rcx, str.TimeOut
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov qword [rbp - 0x20], r15
mov rcx, qword [r12 + 0x578]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
nop
lea rcx, [rbp - 0x40]
call fcn.14003d760
nop
lea rcx, [rbp - 0x28]
call fcn.14003d760
mov eax, r13d
jmp 0x1402fdb16
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140202880
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret