Function at 0x140058e40
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 [0x1400cd548]
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 [0x1400d0290]
mov rax, qword gs:[0x58]
mov edx, 0xa44
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1400cfae8], eax
jg 0x140059152
mov r8b, 1
lea rdx, [0x1400cfad8]
lea rcx, [rsp + 0x68]
call fcn.14005c5b0
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, r14d
sub ecx, 1
je 0x140058ee4
sub ecx, 1
je 0x140058edd
sub ecx, 1
je 0x140058ed6
cmp ecx, 1
jne 0x140058eee
lea eax, [rcx + 0x43]
jmp 0x140058ee9
mov eax, 0x49
jmp 0x140058ee9
mov eax, 0x57
jmp 0x140058ee9
mov eax, 0x45
mov word [rsp + 0x50], ax
mov edx, 9
lea rcx, [rsp + 0x78]
call fcn.140084cc0
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.1400594b0
movsxd rcx, eax
lea rdi, [rsi + rcx*2]
mov r12d, ebp
sub r12d, ecx
movsxd rbx, r12d
call fcn.140004810
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.1400799a0
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 0x140058feb
movsxd rdx, r12d
mov r8, rbx
mov rcx, r10
cmp byte [rsi + 0x4007], r15b
je 0x140058fdf
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
lea r9, str.___s__i__n
call fcn.1400594b0
jmp 0x140058feb
lea r9, [0x1400b96f4]
call fcn.1400594b0
cmp byte [rsi + 0x4005], r15b
je 0x140059012
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, 2
call fcn.14007e02c
mov rcx, rax
mov rdx, rsi
call fcn.140059520
cmp byte [rsi + 0x4004], r15b
je 0x140059042
mov rcx, qword [rsi + 0x4030]
test rcx, rcx
je 0x140059042
mov r8, rsi
lea rdx, [0x14009e670]
call fcn.140059570
mov rcx, qword [rsi + 0x4030]
call fcn.14007d4a0
cmp r14d, dword [rsi + 0x4000]
jg 0x140059124
inc dword [rsi + 0x400c]
mov eax, dword [rsi + 0x400c]
cmp eax, dword [rsi + 0x4008]
jge 0x1400590f8
cmp byte [rsi + 0x4007], r15b
je 0x140059092
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, str._s:
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400594b0
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.140008210
sub ebp, eax
test ebp, ebp
jle 0x14005910f
cmp byte [rsi + 0x4007], 0
je 0x14005910f
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.1400594b0
jmp 0x14005910f
jne 0x140059124
lea r9, str.too_many_errors._stop_logging.
mov r8, rbx
mov rdx, rbp
mov rcx, rsi
call fcn.1400594b0
mov qword [rsp + 0x58], rsi
lea r8, [rsp + 0x58]
mov edx, r14d
mov rcx, rsi
call fcn.140059400
lea rcx, [rsp + 0x68]
call fcn.14005c670
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14006ed70
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [0x1400cfae8]
call fcn.14006f6e4
cmp dword [0x1400cfae8], 0xffffffff
jne 0x140058e9e
lea rcx, [0x1400cfad8]
call fcn.140058730
lea rcx, [0x14009c660]
call fcn.14006f05c
nop
lea rcx, [0x1400cfae8]
call fcn.14006f684
jmp 0x140058e9e