Function at 0x140031c24
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 r14d, dword [rsp + 0xb0]
mov r13, r8
mov r15, qword [rsp + 0xd0]
xor r8d, r8d
mov rbp, qword [rsp + 0xe0]
mov r12, r9
mov ebx, dword [rsp + 0xb8]
mov edi, r8d
mov r10d, r14d
mov word [r15], r8w
mov byte [rbp], r8b
test r14d, r14d
je 0x140031cef
sub r10d, 1
je 0x140031ce6
sub r10d, 1
je 0x140031cdd
sub r10d, 1
je 0x140031c9d
cmp r10d, 1
jne 0x140031cf8
mov ecx, ebx
call fcn.1400095e0
jmp 0x140031cf6
test ebx, ebx
js 0x140031cd4
mov rax, qword [rsp + 0xa8]
mov ebx, 0x8007029c
mov dword [rsp + 0x38], ebx
mov r8, r13
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
call fcn.1400326bc
mov ecx, ebx
call fcn.140031824
jmp 0x140031cf6
mov ecx, ebx
call fcn.140031808
jmp 0x140031cf6
mov ecx, ebx
call fcn.1400317ec
jmp 0x140031cf6
mov ecx, ebx
call fcn.1400317d0
mov edi, eax
mov rsi, qword [rsp + 0xf0]
mov dword [rsi], r14d
mov r14d, 1
mov eax, r14d
mov dword [rsi + 4], ebx
lock xadd dword [0x1400f3e48], eax
add eax, r14d
xor ecx, ecx
mov dword [rsi + 8], eax
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x140031d31
cmp word [rax], cx
jne 0x140031d34
mov rax, rcx
mov qword [rsi + 0x10], rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov rbx, qword [0x1400f3d80]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x88]
mov dword [rsi + 0x38], eax
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x20], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x30], r13
xor r13d, r13d
mov qword [rsi + 0x88], rax
mov dword [rsi + 0x3c], edi
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x40], r13
mov dword [rsi + 0x60], r13d
mov qword [rsi + 0x68], r13
mov qword [rsi + 0x70], r13
mov dword [rsi + 0x48], r13d
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], r13
test rbx, rbx
je 0x140031db8
mov rcx, rbx
call qword [fcn.140009340]
call rbx
jmp 0x140031dbb
mov rax, r13
mov qword [rsi + 0x78], rax
mov r12b, r13b
mov byte [rbp], r13b
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov r8d, eax
lea rbx, [0x140100730]
mov r9d, eax
movabs rax, 0xcccccccccccccccd
mul r9
shr rdx, 4
lea rcx, [rdx + rdx*4]
shl rcx, 2
sub r8, rcx
mov rbx, qword [rbx + r8*8]
jmp 0x140031e05
cmp dword [rbx + 8], r9d
je 0x140031e0d
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140031dfb
mov rbx, r13
test rbx, rbx
je 0x140031e61
cmp qword [rbx], r13
je 0x140031e61
mov byte [rbp], r13b
mov r9d, 0x400
mov rdx, qword [rbx]
mov r8, rbp
mov rcx, rsi
call fcn.140031840
test al, al
je 0x140031e37
mov qword [rsi + 0x40], rbp
mov rbp, qword [rbx]
mov rdi, qword [rbp + 8]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.140009340]
mov rdx, rsi
mov rcx, rdi
call rbx
mov rbp, qword [rbp + 0x10]
or r12b, al
test rbp, rbp
jne 0x140031e3a
mov rdi, qword [0x1400f3d58]
test rdi, rdi
je 0x140031e85
mov rcx, rdi
call qword [fcn.140009340]
mov rdx, rsi
mov cl, r12b
call rdi
mov rdi, qword [0x1400f3d58]
mov rbx, qword [0x1400f3d50]
test rbx, rbx
je 0x140031ea6
mov rcx, rbx
call qword [fcn.140009340]
mov rcx, rsi
call rbx
mov rdi, qword [0x1400f3d58]
cmp dword [rsi + 4], r13d
jl 0x140031eba
cmp dword [rsp + 0xb0], 4
jne 0x140031f61
cmp byte [0x1400f3d98], r13b
mov rbx, qword [0x1400f3da0]
jne 0x140031ed7
test rdi, rdi
jne 0x140031ed4
test rbx, rbx
je 0x140031ed7
mov r14b, r13b
cmp byte [rsp + 0xc8], r13b
jne 0x140031f09
test r14b, r14b
jne 0x140031f09
test rbx, rbx
je 0x140031f49
cmp byte [0x1400f3d88], r13b
jne 0x140031f49
mov rcx, rbx
call qword [fcn.140009340]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call rbx
jmp 0x140031f49
mov edi, 0x800
test rbx, rbx
je 0x140031f27
mov rcx, rbx
call qword [fcn.140009340]
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call rbx
cmp word [r15], r13w
jne 0x140031f3b
mov r8, rsi
mov rdx, rdi
mov rcx, r15
call fcn.1400319f0
test r14b, r14b
je 0x140031f49
mov rcx, r15
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringW]
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x78]
lea r8, [0x1400bee48]
mov edx, 0xb46
call fcn.140031934
int3