Function at 0x140010a60
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 qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x140057130]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r13, r9
mov rsi, r8
mov qword [rsp + 0x58], r8
mov ebp, edx
mov rdi, rcx
mov eax, dword [0x140059770]
test al, 1
jne 0x140010acb
or eax, 1
mov dword [0x140059770], eax
lea rcx, [0x140059760]
call fcn.140010070
lea rcx, [0x140042440]
call fcn.140013edc
nop
mov r8b, 1
lea rdx, [0x140059760]
lea rcx, [rsp + 0x68]
call fcn.140012b10
xor r15d, r15d
mov dword [rsp + 0x50], r15d
mov ecx, ebp
dec ecx
je 0x140010b0c
dec ecx
je 0x140010b05
dec ecx
je 0x140010afe
dec ecx
jne 0x140010b16
lea eax, [rcx + 0x44]
jmp 0x140010b11
mov eax, 0x49
jmp 0x140010b11
mov eax, 0x57
jmp 0x140010b11
mov eax, 0x45
mov word [rsp + 0x50], ax
cmp byte [rdi + 0x4007], r15b
je 0x140010b7f
mov edx, 9
lea rcx, [rsp + 0x80]
call fcn.140015e8c
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x80]
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:
or r8, 0xffffffffffffffff
mov esi, 0x2000
mov edx, esi
mov rcx, rdi
call fcn.14001639c
jmp 0x140010ba3
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, str._s:
or r8, 0xffffffffffffffff
mov esi, 0x2000
mov edx, esi
mov rcx, rdi
call fcn.14001639c
mov ecx, eax
cdqe
lea rbx, [rdi + rax*2]
mov r14d, esi
sub r14d, ecx
lea rax, [rsp + 0x120]
movsxd rdx, r14d
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.140016530
movsxd rcx, eax
mov qword [rsp + 0x78], r15
lea r10, [rbx + rcx*2]
sub r14d, ecx
mov r12d, dword [rsp + 0x110]
test r14d, r14d
jle 0x140010c21
movsxd rdx, r14d
mov dword [rsp + 0x28], r12d
or r8, 0xffffffffffffffff
mov rcx, r10
mov qword [rsp + 0x20], r13
cmp byte [rdi + 0x4007], r15b
lea r9, str.___s__i__n
jne 0x140010c1c
lea r9, [0x140045a94]
call fcn.14001639c
cmp byte [rdi + 0x4005], r15b
je 0x140010c44
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.140016094
lea rcx, [rax + 0x60]
mov rdx, rdi
call fcn.14001622c
cmp byte [rdi + 0x4004], r15b
je 0x140010c74
mov rcx, qword [rdi + 0x4218]
test rcx, rcx
je 0x140010c74
mov r8, rdi
lea rdx, [0x140043c5c]
call fcn.1400162c0
mov rcx, qword [rdi + 0x4218]
call fcn.140016c20
cmp ebp, dword [rdi + 0x4000]
jg 0x140010d54
inc dword [rdi + 0x400c]
mov eax, dword [rdi + 0x400c]
mov ecx, dword [rdi + 0x4008]
cmp eax, ecx
jge 0x140010d28
cmp byte [rdi + 0x4007], r15b
je 0x140010cc6
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, str._s:
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14001639c
mov r15d, eax
movsxd rcx, r15d
lea rbx, [rdi + rcx*2]
sub esi, r15d
lea rax, [rsp + 0x120]
movsxd rdx, esi
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x118]
or r8, 0xffffffffffffffff
mov rcx, rbx
call fcn.140016530
sub esi, eax
test esi, esi
jle 0x140010d40
cmp byte [rdi + 0x4007], 0
je 0x140010d40
movsxd rdx, esi
cdqe
lea rcx, [rbx + rax*2]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r13
lea r9, str.___s__i__n
or r8, 0xffffffffffffffff
call fcn.14001639c
jmp 0x140010d40
jne 0x140010d54
lea r9, [0x140045a98]
or r8, 0xffffffffffffffff
mov rdx, rsi
mov rcx, rdi
call fcn.14001639c
mov qword [rsp + 0x58], rdi
lea r8, [rsp + 0x58]
mov edx, ebp
mov rcx, rdi
call fcn.140010f70
lea rcx, [rsp + 0x68]
call fcn.140012ba0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400150c0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret