Function at 0x140004ad8
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [rsp + 0x110]
xor r10d, r10d
mov r14d, dword [rsp + 0xe0]
mov r13, r8
mov rsi, qword [rsp + 0x100]
mov r12d, edx
mov rdx, qword [rsp + 0xd0]
mov r15, rcx
mov r8, qword [rsp + 0xd8]
mov ebp, r10d
mov rbx, qword [rsp + 0x120]
mov ecx, r14d
mov edi, dword [rsp + 0xe8]
mov word [rsi], r10w
mov byte [rax], r10b
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], rax
test r14d, r14d
je 0x140004ba9
sub ecx, 1
je 0x140004ba0
sub ecx, 1
je 0x140004b6a
cmp ecx, 1
jne 0x140004bb2
mov ecx, edi
call fcn.140003db0
jmp 0x140004bb0
test edi, edi
js 0x140004b97
mov edi, 0x8007029c
mov rcx, r15
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x28], r8
mov r8, r13
mov qword [rsp + 0x20], rdx
mov edx, r12d
call fcn.140004f6c
mov ecx, edi
call fcn.140003d84
jmp 0x140004bb0
mov ecx, edi
call fcn.140003d64
jmp 0x140004bb0
mov ecx, edi
call fcn.140003d44
mov ebp, eax
mov dword [rbx], r14d
mov eax, 1
mov dword [rbx + 4], edi
lock xadd dword [0x14004c558], eax
inc eax
xor edi, edi
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x140004bde
cmp word [rax], di
jne 0x140004be1
mov rax, rdi
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
nop dword [rax + rax]
xorps xmm0, xmm0
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x20], rax
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x80], rax
mov rax, qword [0x14004c4b8]
mov dword [rbx + 0x38], r12d
mov dword [rbx + 0x3c], ebp
mov qword [rbx + 0x88], r15
mov qword [rbx + 0x40], rdi
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
test rax, rax
je 0x140004c4b
call qword [case.0x1400349f6.0]
jmp 0x140004c4e
mov rax, rdi
mov qword [rbx + 0x78], rax
mov rax, qword [0x14004c460]
test rax, rax
je 0x140004c72
mov rdx, qword [rsp + 0x58]
mov r8d, 0x400
mov rcx, rbx
call qword [case.0x1400349f6.0]
mov rax, qword [0x14004c450]
test rax, rax
je 0x140004c87
mov rcx, rbx
call qword [case.0x1400349f6.0]
mov rax, qword [0x14004c488]
test rax, rax
je 0x140004c9c
mov rcx, rbx
call qword [case.0x1400349f6.0]
cmp dword [rbx + 4], edi
jl 0x140004cb2
cmp r14d, 3
jne 0x140004d86
mov dword [rbx + 4], 0x8000ffff
cmp byte [0x14004c410], dil
jne 0x140004d0e
mov rax, qword [0x14004c400]
test rax, rax
je 0x140004cd2
call qword [case.0x1400349f6.0]
movzx ecx, al
jmp 0x140004ce5
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
mov ecx, edi
setne cl
test ecx, ecx
jne 0x140004d0e
mov rax, qword [0x14004c418]
test rax, rax
je 0x140004d59
cmp byte [0x14004c438], dil
jne 0x140004d59
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x1400349f6.0]
jmp 0x140004d59
mov rax, qword [0x14004c418]
mov ebp, 0x800
test rax, rax
je 0x140004d37
cmp byte [0x14004c438], dil
jne 0x140004d37
mov r8d, ebp
mov rdx, rsi
mov rcx, rbx
call qword [case.0x1400349f6.0]
cmp word [rsi], di
jne 0x140004d4a
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400039d0
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop dword [rax + rax]
cmp byte [0x14004c420], dil
je 0x140004d74
mov rax, qword [0x14004c470]
test rax, rax
je 0x140004d74
call qword [case.0x1400349f6.0]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140005228
int3