Function at 0x140001010
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x428
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x20], 1
jmp 0x14000103d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x430]
cmp dword [rsp + 0x20], eax
jge 0x140001072
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x438]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.msvcrt.dll_strlen]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 1]
mov qword [rsp + 0x40], rax
jmp 0x140001033
cmp qword [rsp + 0x40], 0
jne 0x140001084
mov eax, 0xffffffff
jmp 0x14000147f
mov eax, 8
imul rax, rax, 1
lea rdx, str.__winetest
mov rcx, qword [rsp + 0x438]
mov rcx, qword [rcx + rax]
call qword [sym.imp.msvcrt.dll_strstr]
test rax, rax
je 0x140001282
cmp dword [rsp + 0x430], 3
jne 0x140001282
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x438]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_strcpy
lea rdx, str.___list
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_strcat
lea rdx, [0x140003208]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.msvcrt.dll__popen]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14000127d
mov r8, qword [rsp + 0x50]
mov edx, 0x80
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.msvcrt.dll_fgets]
test rax, rax
je 0x140001272
mov eax, 1
imul rax, rax, 0
movsx eax, byte [rsp + rax + 0x1f0]
cmp eax, 0x20
jne 0x14000126d
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x438]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_strcpy
lea rdx, [0x14000320c]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_strcat
lea rax, [rsp + 0x1f4]
mov rdx, rax
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll_strcat
lea rdx, str._n_nRunning
lea rcx, [rsp + 0x2f0]
call sub.msvcrt.dll_strcpy
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x2f0]
call sub.msvcrt.dll_strcat
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
lea rdx, [0x140003208]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.msvcrt.dll__popen]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14000126d
mov r8, qword [rsp + 0x48]
mov edx, 0x80
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_fgets]
test rax, rax
je 0x140001262
mov edx, 0xa
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_strchr]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14000123a
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
lea rcx, [rsp + 0x70]
call qword [sym.imp.msvcrt.dll_puts]
cmp qword [rsp + 0x38], 0
je 0x140001255
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xa
lea rcx, [rsp + 0x70]
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1400011fb
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.msvcrt.dll__pclose]
jmp 0x140001119
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.msvcrt.dll__pclose]
jmp 0x14000147d
mov eax, 8
imul rax, rax, 1
lea rdx, str.__process
mov rcx, qword [rsp + 0x438]
mov rcx, qword [rcx + rax]
call qword [sym.imp.msvcrt.dll_strstr]
test rax, rax
je 0x140001331
cmp dword [rsp + 0x430], 3
jne 0x140001331
mov eax, 8
imul rax, rax, 2
lea rdx, [0x140003208]
mov rcx, qword [rsp + 0x438]
mov rcx, qword [rcx + rax]
call qword [sym.imp.msvcrt.dll__popen]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x14000132c
mov r8, qword [rsp + 0x58]
mov edx, 0x80
lea rcx, [rsp + 0x270]
call qword [sym.imp.msvcrt.dll_fgets]
test rax, rax
je 0x140001321
lea rcx, [rsp + 0x270]
call qword [sym.imp.msvcrt.dll_puts]
lea rcx, [rsp + 0x270]
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x1400012e6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.msvcrt.dll__pclose]
jmp 0x14000147d
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x68], rax
call sub.kernel32.dll_GetProcessHeap
mov rcx, qword [rsp + 0x68]
mov r8, rcx
xor edx, edx
mov rcx, rax
call sub.kernel32.dll_HeapAlloc
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x14000136c
mov eax, 0xffffffff
jmp 0x14000147f
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
jmp 0x140001389
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x430]
cmp dword [rsp + 0x20], eax
jge 0x140001453
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x438]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.msvcrt.dll_strlen]
mov qword [rsp + 0x60], rax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
add rdx, rcx
mov rcx, rdx
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x438]
mov rdx, qword [rdx + rax*8]
call sub.msvcrt.dll_strncpy
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x20]
inc eax
cmp eax, dword [rsp + 0x430]
jge 0x14000141a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov byte [rax], 0x20
jmp 0x140001441
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov byte [rax], 0xa
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov byte [rax + 1], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x14000137f
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.msvcrt.dll_puts]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.kernel32.dll_OutputDebugStringA]
call sub.kernel32.dll_GetProcessHeap
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call sub.kernel32.dll_HeapFree
xor eax, eax
add rsp, 0x428
ret