Function at 0x140004ad0
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 [0x140042258]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, r8
mov rbp, rdx
lea rbx, [rcx + 0x30]
cmp qword [rbx], 0
jne 0x140004b53
cmp qword [rcx + 0x20], 0
je 0x140004b53
cmp qword [rcx + 0x28], 0x10
jb 0x140004b20
mov rdx, qword [rcx + 0x10]
jmp 0x140004b24
lea rdx, [rcx + 0x10]
lea r8, [0x140037ed8]
mov rcx, rbx
call fcn.140007620
test eax, eax
jne 0x140004b46
lea rcx, str.The_logfile_was_opened_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x140004b53
lea rcx, str.The_logfile_was_not_opened_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp qword [rbx], 0
je 0x140004e7c
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.140007d18
test eax, eax
jne 0x140004c18
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.14000107d
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xf0]
call fcn.1400010d2
nop
cmp qword [rsp + 0x40], 0x10
jb 0x140004c25
mov rcx, qword [rsp + 0x28]
call fcn.140006070
jmp 0x140004c25
lea rcx, str.Couldnt_get_the_time_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 9
lea rcx, [rsp + 0x150]
call fcn.140007af0
test eax, eax
jne 0x140004ca5
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.14000107d
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x118]
call fcn.1400010d2
nop
cmp qword [rsp + 0x40], 0x10
jb 0x140004cb2
mov rcx, qword [rsp + 0x28]
call fcn.140006070
jmp 0x140004cb2
lea rcx, str.Couldnt_get_the_date_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea r8, [0x140037448]
lea rdx, [rsp + 0x118]
lea rcx, [rsp + 0xa0]
call fcn.140004720
nop
lea r8, [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400047e0
nop
lea r8, [0x140037448]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140004720
nop
mov r8, rbp
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140004720
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.1400010d2
nop
cmp qword [rsp + 0x40], 0x10
jb 0x140004d51
mov rcx, qword [rsp + 0x28]
call fcn.140006070
mov qword [rsp + 0x40], 0xf
mov qword [rsp + 0x38], r12
mov byte [rsp + 0x28], 0
cmp qword [rsp + 0x90], 0x10
jb 0x140004d79
mov rcx, qword [rsp + 0x78]
call fcn.140006070
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], r12
mov byte [rsp + 0x78], 0
cmp qword [rsp + 0x68], 0x10
jb 0x140004da4
mov rcx, qword [rsp + 0x50]
call fcn.140006070
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], 0
cmp qword [rsp + 0xc0], 0x10
jb 0x140004dcf
mov rcx, qword [rsp + 0xa8]
call fcn.140006070
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 0x10
cmovae rdx, qword [rsp + 0xd0]
mov r8, rsi
mov rcx, qword [rbx]
call fcn.140007a84
mov rcx, qword [rbx]
call fcn.14000783c
cmp qword [rsp + 0xe8], 0x10
jb 0x140004e14
mov rcx, qword [rsp + 0xd0]
call fcn.140006070
mov qword [rsp + 0xe8], 0xf
mov qword [rsp + 0xe0], r12
mov byte [rsp + 0xd0], 0
cmp qword [rsp + 0x110], 0x10
jb 0x140004e48
mov rcx, qword [rsp + 0xf8]
call fcn.140006070
mov qword [rsp + 0x110], 0xf
mov qword [rsp + 0x108], r12
mov byte [rsp + 0xf8], 0
cmp qword [rsp + 0x138], 0x10
jb 0x140004e7c
mov rcx, qword [rsp + 0x120]
call fcn.140006070
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140006700
add rsp, 0x170
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret