Function at 0x140006740
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov r10, rcx
mov r15d, dword [rsp + 0x100]
xor esi, esi
mov r14, qword [rsp + 0xe0]
mov word [r14], si
mov rax, qword [rsp + 0xf0]
mov byte [rax], sil
mov r12, qword [rsp + 0xc8]
mov edi, dword [r12]
mov rbx, qword [rsp + 0x108]
mov dword [rbx + 8], edi
mov eax, dword [r12 + 4]
mov dword [rbx + 0xc], eax
mov ebp, esi
mov r13d, dword [rsp + 0xc0]
mov ecx, r13d
test r13d, r13d
je 0x14000681e
sub ecx, 1
je 0x140006815
sub ecx, 1
je 0x1400067d0
cmp ecx, 1
jne 0x140006827
mov ecx, edi
call fcn.140005590
jmp 0x140006825
test edi, edi
js 0x14000680c
mov edi, 0x8007029c
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov rcx, r10
call fcn.140008bd0
mov dword [rbx + 8], edi
mov ecx, edi
call fcn.140005750
mov dword [rbx + 0xc], eax
mov ecx, edi
call fcn.140005570
jmp 0x140006825
mov ecx, edi
call fcn.140005550
jmp 0x140006825
mov ecx, edi
call fcn.140005530
mov ebp, eax
mov dword [rbx], r13d
mov dword [rbx + 4], r15d
cmp dword [r12 + 8], 1
jne 0x14000683e
or r15d, 8
mov dword [rbx + 4], r15d
mov eax, 1
lock xadd dword [0x140013a20], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xd0]
test rax, rax
je 0x140006862
cmp word [rax], si
jne 0x140006865
mov rax, rsi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x20], eax
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x38], rax
mov eax, dword [rsp + 0x98]
mov dword [rbx + 0x40], eax
mov dword [rbx + 0x44], ebp
mov rax, qword [rsp + 0xb0]
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x30], rax
mov rax, qword [rsp + 0xb8]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x48], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x68], xmm0
mov qword [rbx + 0x78], rax
movups xmmword [rbx + 0x50], xmm0
mov qword [rbx + 0x60], rax
mov rax, qword [0x140013ac0]
test rax, rax
je 0x1400068ea
call rax
jmp 0x1400068ed
mov rax, rsi
mov qword [rbx + 0x80], rax
mov rax, qword [0x140013a50]
test rax, rax
je 0x140006905
mov rcx, rbx
call rax
mov rax, qword [0x140013a80]
test rax, rax
je 0x140006924
mov r8d, 0x400
mov rdx, qword [rsp + 0xf0]
mov rcx, rbx
call rax
mov rax, qword [0x140013a78]
test rax, rax
je 0x140006935
mov rcx, rbx
call rax
mov rax, qword [0x140013a98]
test rax, rax
je 0x14000694c
test byte [rbx + 4], 2
jne 0x14000694c
mov rcx, rbx
call rax
cmp dword [rbx + 8], esi
jl 0x14000696f
cmp r13d, 3
jne 0x140006a34
mov dword [rbx + 8], 0x8000ffff
mov ecx, 0x8000ffff
call fcn.140005750
mov dword [rbx + 0xc], eax
cmp byte [0x140013a30], sil
jne 0x14000699b
mov rax, qword [0x140013a28]
test rax, rax
je 0x14000698b
call rax
movzx esi, al
jmp 0x140006997
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
setne sil
test esi, esi
je 0x1400069a1
test byte [rbx + 4], 2
je 0x1400069c2
mov rax, qword [0x140013a48]
test rax, rax
je 0x140006a05
cmp byte [0x140013a60], 0
jne 0x140006a05
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rax
jmp 0x140006a05
mov rax, qword [0x140013a48]
test rax, rax
je 0x1400069e5
cmp byte [0x140013a60], 0
jne 0x1400069e5
mov r8d, 0x800
mov rdx, r14
mov rcx, rbx
call rax
cmp word [r14], 0
jne 0x1400069fc
mov r8, rbx
mov edx, 0x800
mov rcx, r14
call fcn.1400050b0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rbx + 4], 4
jne 0x140006a14
cmp byte [0x140013a40], 0
je 0x140006a23
mov rax, qword [0x140013a88]
test rax, rax
je 0x140006a23
call rax
nop
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140006c90
int3