Function at 0x140027dec
Capabilities:
Print debug messages

Disassembly:
test ecx, 0x40e
je 0x1400281a8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.14003ee70
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1190], rbx
mov qword [rsp + 0x11a0], rsi
mov qword [rsp + 0x11a8], rdi
mov rax, qword [0x14007a8d0]
xor rax, rsp
mov qword [rbp + 0x1050], rax
movsxd rbx, r8d
mov r13, rdx
xor r14d, r14d
cmp qword [0x14007e1b0], r14
jne 0x140027e7f
mov ecx, 0x3c0
call fcn.14003cde0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140027e6c
mov rcx, rax
call fcn.140027800
jmp 0x140027e6f
mov rax, r14
mov qword [0x14007e1b0], rax
test rax, rax
je 0x140028179
mov edi, r14d
mov r15, r14
mov r12, rbx
test ebx, ebx
jle 0x140028179
movzx r9d, byte [r15 + r13]
mov eax, 0x78
sub eax, edi
movsxd rdx, eax
movsxd rax, edi
lea rcx, [rbp - 0x30]
add rcx, rax
lea r8, str._2.2X
call fcn.14003f4f4
add edi, 3
mov rbx, qword [0x14007e1b0]
cmp edi, 0x60
jl 0x14002800f
test rbx, rbx
jne 0x140027ef8
mov ecx, 0x3c0
call fcn.14003cde0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140027eee
mov rcx, rax
call fcn.140027800
mov rbx, rax
jmp 0x140027ef1
mov rbx, r14
mov qword [0x14007e1b0], rbx
lea rax, [rbp - 0x30]
test rax, rax
je 0x14002800c
cmp dword [rbx], 0
je 0x14002800c
mov byte [rbp + 0x50], 0
mov byte [rbp - 0x50], 0
mov byte [rbp - 0x70], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov edx, 0x1e
lea rcx, [rbp - 0x50]
call fcn.140041648
lea r8, str.INFO
mov edx, 0x1e
lea rcx, [rbp - 0x70]
call fcn.14003d4e8
mov edi, r14d
cmp byte [rbp - 0x30], dil
setne dil
lea rcx, [rbx + 0xc]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rcx
lea r9, str.__s:_0x_X__s__s_
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0x50]
call fcn.14003f430
test edi, edi
je 0x140027f9e
lea r8, [rbp - 0x30]
mov edx, 0x800
lea rcx, [rbp + 0x50]
call fcn.14003d54c
lea r8, [0x1400614a8]
mov edx, 0x800
lea rcx, [rbp + 0x50]
call fcn.14003d54c
lea rcx, [rbx + 0x398]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [rbx + 4], 2
je 0x140027fd2
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.140028dc0
test byte [rbx + 4], 4
je 0x140027fe2
lea rcx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 4], 8
je 0x140027ff8
lea rcx, [rbx + 0x320]
lea rdx, [rbp + 0x50]
call fcn.140029410
lea rcx, [rbx + 0x398]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbx, qword [0x14007e1b0]
mov edi, r14d
inc r15
cmp r15, r12
jl 0x140027e90
test edi, edi
je 0x140028179
test rbx, rbx
jne 0x140028053
mov ecx, 0x3c0
call fcn.14003cde0
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140028049
mov rcx, rax
call fcn.140027800
mov rbx, rax
jmp 0x14002804c
mov rbx, r14
mov qword [0x14007e1b0], rbx
lea rax, [rbp - 0x30]
test rax, rax
je 0x140028179
cmp dword [rbx], 0
je 0x140028179
mov byte [rbp + 0x850], 0
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x50], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
mov edx, 0x1e
lea rcx, [rsp + 0x70]
call fcn.140041648
lea r8, str.INFO
mov edx, 0x1e
lea rcx, [rsp + 0x50]
call fcn.14003d4e8
cmp byte [rbp - 0x30], 0
setne r14b
lea rcx, [rbx + 0xc]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rcx
lea r9, str.__s:_0x_X__s__s_
or r8, 0xffffffffffffffff
mov edx, 0x800
lea rcx, [rbp + 0x850]
call fcn.14003f430
test r14d, r14d
je 0x140028106
lea r8, [rbp - 0x30]
mov edx, 0x800
lea rcx, [rbp + 0x850]
call fcn.14003d54c
lea r8, [0x1400614a8]
mov edx, 0x800
lea rcx, [rbp + 0x850]
call fcn.14003d54c
lea rcx, [rbx + 0x398]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [rbx + 4], 2
je 0x140028140
lea rdx, [rbp + 0x850]
mov rcx, rbx
call fcn.140028dc0
test byte [rbx + 4], 4
je 0x140028153
lea rcx, [rbp + 0x850]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [rbx + 4], 8
je 0x14002816c
lea rcx, [rbx + 0x320]
lea rdx, [rbp + 0x850]
call fcn.140029410
lea rcx, [rbx + 0x398]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.14003eed0
lea r11, [rsp + 0x1160]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret