Function at 0x140011050
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x170
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1400573f0]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r8
mov rbp, rdx
lea rbx, [rcx + 0x30]
cmp qword [rbx], 0
jne 0x1400110d3
cmp qword [rcx + 0x20], 0
je 0x1400110d3
cmp qword [rcx + 0x28], 0x10
jb 0x1400110a0
mov rdx, qword [rcx + 0x10]
jmp 0x1400110a4
lea rdx, [rcx + 0x10]
lea r8, [0x14004a9b0]
mov rcx, rbx
call fcn.140013ef4
test eax, eax
jne 0x1400110c6
lea rcx, str.The_logfile_was_opened_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1400110d3
lea rcx, str.The_logfile_was_not_opened_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [rbx], 0
je 0x1400113fc
mov qword [rsp + 0x138], 0xf
xor r12d, r12d
mov qword [rsp + 0x130], r12
mov byte [rsp + 0x120], r12b
mov qword [rsp + 0x110], 0xf
mov qword [rsp + 0x108], r12
mov byte [rsp + 0xf8], r12b
lea edx, [r12 + 9]
lea rcx, [rsp + 0x140]
call fcn.140014660
test eax, eax
jne 0x140011198
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x140]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x20]
call fcn.140001226
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xf0]
call fcn.14000146a
nop
cmp qword [rsp + 0x40], 0x10
jb 0x1400111a5
mov rcx, qword [rsp + 0x28]
call fcn.140012144
jmp 0x1400111a5
lea rcx, str.Couldnt_get_the_time_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 9
lea rcx, [rsp + 0x150]
call fcn.140014438
test eax, eax
jne 0x140011225
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], al
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x150]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x20]
call fcn.140001226
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x118]
call fcn.14000146a
nop
cmp qword [rsp + 0x40], 0x10
jb 0x140011232
mov rcx, qword [rsp + 0x28]
call fcn.140012144
jmp 0x140011232
lea rcx, str.Couldnt_get_the_date_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r8, [0x14004a34c]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xa0]
call fcn.140010ca0
nop
lea r8, [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140010d60
nop
lea r8, [0x14004a34c]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140010ca0
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140010ca0
nop
mov qword [rsp + 0xe8], 0xf
mov qword [rsp + 0xe0], r12
mov byte [rsp + 0xd0], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xc8]
call fcn.14000146a
nop
cmp qword [rsp + 0x40], 0x10
jb 0x1400112d1
mov rcx, qword [rsp + 0x28]
call fcn.140012144
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], 0
cmp qword [rsp + 0x90], 0x10
jb 0x1400112f9
mov rcx, qword [rsp + 0x78]
call fcn.140012144
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], r12
mov byte [rsp + 0x78], 0
cmp qword [rsp + 0x68], 0x10
jb 0x140011324
mov rcx, qword [rsp + 0x50]
call fcn.140012144
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], 0
cmp qword [rsp + 0xc0], 0x10
jb 0x14001134f
mov rcx, qword [rsp + 0xa8]
call fcn.140012144
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0x10
cmovae rdx, qword [rsp + 0xd0]
mov r8, rsi
mov rcx, qword [rbx]
call fcn.1400143cc
mov rcx, qword [rbx]
call fcn.140014184
cmp qword [rsp + 0xe8], 0x10
jb 0x140011394
mov rcx, qword [rsp + 0xd0]
call fcn.140012144
mov qword [rsp + 0xe8], 0xf
mov qword [rsp + 0xe0], r12
mov byte [rsp + 0xd0], 0
cmp qword [rsp + 0x110], 0x10
jb 0x1400113c8
mov rcx, qword [rsp + 0xf8]
call fcn.140012144
mov qword [rsp + 0x110], 0xf
mov qword [rsp + 0x108], r12
mov byte [rsp + 0xf8], 0
cmp qword [rsp + 0x138], 0x10
jb 0x1400113fc
mov rcx, qword [rsp + 0x120]
call fcn.140012144
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140013030
add rsp, 0x170
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret