Function at 0x140001fa5
Capabilities:
Print debug messages
Write file on windows

Disassembly:
jmp 0x140074b70
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [0x1401475c0]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov r15, r9
mov rbx, r8
movsxd r14, edx
mov rsi, rcx
call fcn.140001f23
cmp qword [rsi + 0x118], 0
je 0x140074dce
inc dword [rsi + 8]
lea rcx, [rbp + 0x81]
xor edx, edx
mov r8d, 0x7ff
mov qword [rsp + 0x998], rdi
mov dword [rsp + 0x50], 0
mov byte [rbp + 0x80], 0
call sub.MSVCR120.dll_memset
lea rcx, [rbp - 0x7f]
xor edx, edx
mov r8d, 0xff
mov byte [rbp - 0x80], 0
call sub.MSVCR120.dll_memset
xor eax, eax
lea rcx, [rbp - 0x80]
mov r8d, 0xff
mov rdx, rbx
mov byte [rsp + 0x60], 0
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov dword [rsp + 0x71], eax
mov word [rsp + 0x75], ax
mov byte [rsp + 0x77], al
call qword [sym.imp.MSVCR120.dll_strncpy]
lea rcx, [rbp - 0x80]
mov edx, 0x5c
call qword [sym.imp.MSVCR120.dll_strrchr]
mov rdi, rax
test rax, rax
jne 0x140074c48
lea rdi, [rbp - 0x80]
jmp 0x140074c4b
inc rdi
xor ecx, ecx
call qword [sym.imp.MSVCR120.dll__time64]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call qword [sym.imp.MSVCR120.dll__localtime64]
lea r8, str.__d__02d__02d__02d:_02d:_02d_
mov ecx, dword [rax]
mov edx, dword [rax + 0x10]
mov r9d, dword [rax + 0x14]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rax + 4]
inc edx
mov dword [rsp + 0x38], ecx
mov ecx, dword [rax + 8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rcx, [rsp + 0x60]
mov edx, reloc.WS2_32.dll_socket
add r9d, 0x76c
call qword [sym.imp.MSVCR120.dll__snprintf]
mov rdx, qword [rsi + 0x110]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rdx + rax], 0
jne 0x140074cb7
cmp rax, 0x76c
mov eax, dword [rbp + 0x8f0]
lea r8, section..data
mov dword [rsp + 0x40], eax
lea r9, [rsp + 0x60]
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x38], rdi
jbe 0x140074cf8
lea rax, str.Log_Info_Length_Over_Size.
mov qword [rsp + 0x30], rax
jmp 0x140074cfd
mov qword [rsp + 0x30], rdx
mov rax, qword [r8 + r14*8]
lea r8, str._s__s____s_:___s_____s__d___r_n
mov edx, 0x7ff
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR120.dll__snprintf]
cmp byte [rsi + 0xc], 0
je 0x140074d75
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea rax, [rbp + 0x80]
mov rdi, rbx
nop word [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140074d40
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x80]
mov r8d, edi
mov rcx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov rcx, qword [rsi + 0x118]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rdi, qword [rsp + 0x998]
lea rax, [rbp + 0x80]
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140074da0
mov rcx, qword [rsi + 0x118]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x80]
mov r8, rbx
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.1400bcf10
add rsp, 0x9a0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret