Function at 0x140005c24
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12, r9
mov r13, r8
mov r10, rcx
xor r8d, r8d
mov r14, qword [rsp + 0xd0]
mov word [r14], r8w
mov rax, qword [rsp + 0xe0]
mov byte [rax], r8b
mov rbx, qword [rsp + 0xf0]
mov r15, qword [rsp + 0xb8]
mov edi, dword [r15]
mov dword [rbx + 8], edi
mov eax, dword [r15 + 4]
mov dword [rbx + 0xc], eax
mov esi, r8d
mov ebp, dword [rsp + 0xb0]
mov ecx, ebp
test ebp, ebp
je 0x140005cfa
sub ecx, 1
je 0x140005cf1
sub ecx, 1
je 0x140005ca9
cmp ecx, 1
jne 0x140005d03
mov ecx, edi
call fcn.140001790
jmp 0x140005d01
test edi, edi
js 0x140005ce8
mov edi, 0x8007029c
mov dword [rsp + 0x30], edi
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, r10
call fcn.140005b98
mov dword [rbx + 8], edi
mov ecx, edi
call fcn.14000197c
mov dword [rbx + 0xc], eax
mov ecx, edi
call fcn.140005c04
jmp 0x140005d01
mov ecx, edi
call fcn.140005a70
jmp 0x140005d01
mov ecx, edi
call fcn.140005a58
mov esi, eax
mov dword [rbx], ebp
xor edi, edi
mov dword [rbx + 4], edi
cmp byte [r15 + 8], dil
je 0x140005d17
mov dword [rbx + 4], 8
mov eax, 1
lock xadd dword [0x140011a80], eax
inc eax
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140005d3b
cmp word [rax], di
jne 0x140005d3e
mov rax, rdi
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rbx + 0x20], eax
mov qword [rbx + 0x38], r13
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x40], eax
mov dword [rbx + 0x44], esi
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x30], r12
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x88], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x48], rdi
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 [0x1400119a8]
test rax, rax
je 0x140005db7
call qword [0x14000c3d8]
jmp 0x140005dba
mov rax, rdi
mov qword [rbx + 0x80], rax
mov rax, qword [0x140011938]
test rax, rax
je 0x140005dd6
mov rcx, rbx
call qword [0x14000c3d8]
mov rax, qword [0x140011960]
test rax, rax
je 0x140005df9
mov r8d, 0x400
mov rdx, qword [rsp + 0xe0]
mov rcx, rbx
call qword [0x14000c3d8]
mov rax, qword [0x140011958]
test rax, rax
je 0x140005e0e
mov rcx, rbx
call qword [0x14000c3d8]
mov rax, qword [0x140011980]
test rax, rax
je 0x140005e29
test byte [rbx + 4], 2
jne 0x140005e29
mov rcx, rbx
call qword [0x14000c3d8]
cmp dword [rbx + 8], edi
jl 0x140005e47
cmp ebp, 3
jne 0x140005f23
mov ecx, 0x8000ffff
mov dword [rbx + 8], ecx
call fcn.14000197c
mov dword [rbx + 0xc], eax
cmp byte [0x140011920], dil
jne 0x140005e78
mov rax, qword [0x140011918]
test rax, rax
je 0x140005e67
call qword [0x14000c3d8]
movzx ecx, al
jmp 0x140005e74
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, edi
test eax, eax
setne cl
test ecx, ecx
je 0x140005e7e
test byte [rbx + 4], 2
je 0x140005ea3
mov rax, qword [0x140011928]
test rax, rax
je 0x140005ee9
cmp byte [0x140011940], dil
jne 0x140005ee9
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [0x14000c3d8]
jmp 0x140005ee9
mov esi, 0x800
mov rax, qword [0x140011928]
test rax, rax
je 0x140005ecc
cmp byte [0x140011940], dil
jne 0x140005ecc
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call qword [0x14000c3d8]
cmp word [r14], di
jne 0x140005ee0
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.1400013bc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [rbx + 4], 4
jne 0x140005ef8
cmp byte [0x140011930], dil
je 0x140005f0b
mov rax, qword [0x140011970]
test rax, rax
je 0x140005f0b
call qword [0x14000c3d8]
nop
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140005c1c
int3