Function at 0x140004e20
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x140071008]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r13, r9
mov rdi, r8
mov qword [rsp + 0x58], r8
mov r14d, edx
mov rsi, rcx
mov ecx, dword [0x140071e80]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140071de8], eax
jg 0x140005132
mov r8b, 1
lea rdx, [0x140071dd8]
lea rcx, [rsp + 0x68]
call fcn.140006450
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, r14d
sub ecx, 1
je 0x140004ec4
sub ecx, 1
je 0x140004ebd
sub ecx, 1
je 0x140004eb6
cmp ecx, 1
jne 0x140004ece
lea eax, [rcx + 0x43]
jmp 0x140004ec9
mov eax, 0x49
jmp 0x140004ec9
mov eax, 0x57
jmp 0x140004ec9
mov eax, 0x45
mov word [rsp + 0x50], ax
mov edx, 9
lea rcx, [rsp + 0x78]
call fcn.14002fd6c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x40], rdi
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._s_pid__4i__tid__4i___s__s:
mov ebp, 0x2000
mov r8, 0xffffffffffffffff
mov edx, ebp
mov rcx, rsi
call fcn.140005b10
movsxd rcx, eax
lea rdi, [rsi + rcx*2]
mov r12d, ebp
sub r12d, ecx
movsxd rbx, r12d
call fcn.1400014b0
mov rcx, qword [rax]
lea rax, [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9, 0xffffffffffffffff
mov r8, rbx
mov rdx, rdi
call fcn.14002e120
mov ecx, eax
test eax, eax
mov rbx, 0xffffffffffffffff
cmovs ecx, ebx
movsxd rax, ecx
lea r10, [rdi + rax*2]
sub r12d, ecx
mov edi, dword [rsp + 0x110]
test r12d, r12d
jle 0x140004fcb
movsxd rdx, r12d
mov r8, rbx
mov rcx, r10
cmp byte [rsi + 0x4007], r15b
je 0x140004fbf
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
lea r9, str.___s__i__n
call fcn.140005b10
jmp 0x140004fcb
lea r9, [0x14005c8ec]
call fcn.140005b10
cmp byte [rsi + 0x4005], r15b
je 0x140004ff2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 2
call fcn.14002ef30
mov rcx, rax
mov rdx, rsi
call fcn.140005bf0
cmp byte [rsi + 0x4004], r15b
je 0x140005022
mov rcx, qword [rsi + 0x4030]
test rcx, rcx
je 0x140005022
mov r8, rsi
lea rdx, [0x14005bdcc]
call fcn.140005c40
mov rcx, qword [rsi + 0x4030]
call fcn.14002fa40
cmp r14d, dword [rsi + 0x4000]
jg 0x140005104
inc dword [rsi + 0x400c]
mov eax, dword [rsi + 0x400c]
cmp eax, dword [rsi + 0x4008]
jge 0x1400050d8
cmp byte [rsi + 0x4007], r15b
je 0x140005072
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x14005c8f0]
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.140005b10
mov r15d, eax
movsxd rcx, r15d
lea rbx, [rsi + rcx*2]
sub ebp, r15d
lea rax, [rsp + 0x120]
movsxd rdx, ebp
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
mov r15, 0xffffffffffffffff
mov r8, r15
mov rcx, rbx
call fcn.140005b80
sub ebp, eax
test ebp, ebp
jle 0x1400050ef
cmp byte [rsi + 0x4007], 0
je 0x1400050ef
movsxd rdx, ebp
cdqe
lea rcx, [rbx + rax*2]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
lea r9, str.___s__i__n
mov r8, r15
call fcn.140005b10
jmp 0x1400050ef
jne 0x140005104
lea r9, str.too_many_errors._stop_logging.
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.140005b10
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x58]
mov edx, r14d
mov rcx, rsi
call fcn.1400053e0
lea rcx, [rsp + 0x68]
call fcn.140006510
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140006f70
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [0x140071de8]
call fcn.140007a88
cmp dword [0x140071de8], 0xffffffff
jne 0x140004e7e
lea rcx, [0x140071dd8]
call fcn.140004210
lea rcx, [0x14005aa60]
call fcn.140007830
nop
lea rcx, [0x140071de8]
call fcn.140007a28
jmp 0x140004e7e