Function at 0x140039930
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
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 r13, r9
xor esi, esi
mov r14, qword [rsp + 0xd0]
mov word [r14], si
mov r12, qword [rsp + 0xe0]
mov byte [r12], sil
mov ebp, esi
mov r15d, dword [rsp + 0xb0]
mov r10d, r15d
mov edi, dword [rsp + 0xb8]
test r15d, r15d
je 0x1400399e9
sub r10d, 1
je 0x1400399e0
sub r10d, 1
je 0x1400399a3
cmp r10d, 1
jne 0x1400399f2
mov ecx, edi
call fcn.140039d70
jmp 0x1400399f0
test edi, edi
js 0x1400399d7
mov edi, 0x8007029c
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], 2
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.140039f00
mov ecx, edi
call fcn.140039d80
jmp 0x1400399f0
mov ecx, edi
call fcn.140039da0
jmp 0x1400399f0
mov ecx, edi
call fcn.140039d50
mov ebp, eax
mov rbx, qword [rsp + 0xf0]
mov dword [rbx], r15d
mov dword [rbx + 4], edi
mov eax, 1
lock xadd dword [0x140077cc4], eax
inc eax
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140039a24
cmp word [rax], si
jne 0x140039a27
mov rax, rsi
mov qword [rbx + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [rbx + 0x18], eax
mov rax, qword [rsp + 0x90]
mov qword [rbx + 0x30], rax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 0x38], eax
mov dword [rbx + 0x3c], ebp
mov rax, qword [rsp + 0xa0]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], r13
mov rax, qword [rsp + 0xa8]
mov qword [rbx + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rbx + 0x88], rax
mov qword [rbx + 0x40], rsi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
movups xmmword [rbx + 0x48], xmm0
mov qword [rbx + 0x58], rax
mov rax, qword [0x140077c78]
test rax, rax
je 0x140039aa8
call qword [case.0x14002d15d.0]
jmp 0x140039aab
mov rax, rsi
mov qword [rbx + 0x78], rax
mov rax, qword [0x140077c88]
test rax, rax
je 0x140039acd
mov r8d, 0x400
mov rdx, r12
mov rcx, rbx
call qword [case.0x14002d15d.0]
mov rax, qword [0x140077c80]
test rax, rax
je 0x140039ae2
mov rcx, rbx
call qword [case.0x14002d15d.0]
mov rax, qword [0x140077c90]
test rax, rax
je 0x140039af7
mov rcx, rbx
call qword [case.0x14002d15d.0]
cmp dword [rbx + 4], esi
jl 0x140039b0d
cmp r15d, 3
jne 0x140039bdd
mov dword [rbx + 4], 0x8000ffff
cmp byte [0x140077c98], sil
jne 0x140039b62
mov rax, qword [0x140077ca0]
test rax, rax
je 0x140039b2d
call qword [case.0x14002d15d.0]
movzx esi, al
jmp 0x140039b39
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
setne sil
test esi, esi
jne 0x140039b62
mov rax, qword [0x140077ca8]
test rax, rax
je 0x140039ba9
cmp byte [0x140077cb0], sil
jne 0x140039ba9
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [case.0x14002d15d.0]
jmp 0x140039ba9
mov rax, qword [0x140077ca8]
test rax, rax
je 0x140039b89
cmp byte [0x140077cb0], 0
jne 0x140039b89
mov r8d, 0x800
mov rdx, r14
mov rcx, rbx
call qword [case.0x14002d15d.0]
cmp word [r14], 0
jne 0x140039ba0
mov r8, rbx
mov edx, 0x800
mov rcx, r14
call fcn.140038270
mov rcx, r14
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x140077cc0], 0
je 0x140039bc5
mov rax, qword [0x140077cb8]
test rax, rax
je 0x140039bc5
call qword [case.0x14002d15d.0]
nop
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14003a340
int3