Function at 0x14002e108
Capabilities:
Get file size
Get hostname
Write file on windows

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
sub rsp, 0x430
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x28], 0xfffffffffffffffe
mov qword [rbp + 0x428], rbx
mov qword [rbp + 0x430], rsi
mov rax, qword [0x140078790]
xor rax, rbp
mov qword [rbp + 0x3e0], rax
mov rdi, rcx
mov qword [rbp + 0x30], rcx
lea rax, vtable.DPTraceNS::COutput.0
mov qword [rcx], rax
lea rax, vtable.DPTraceNS::CFileOutput.0
mov qword [rcx], rax
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14002dfe4
nop
lea rdx, [rdi + 0x10]
lea rcx, [rbp + 0x10]
call fcn.14002f0f0
xor r15d, r15d
test al, al
jne 0x14002e184
jmp 0x14002e61d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rbp + 0x10]
call fcn.1400300ac
neg al
sbb edx, edx
and edx, 0xfffffffe
add edx, 4
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000080
mov dword [rsp + 0x20], edx
xor r9d, r9d
lea r14d, [r9 + 3]
mov r8d, r14d
mov edx, 0x40000000
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 8], rax
or rsi, 0xffffffffffffffff
cmp rax, rsi
je 0x14002e61d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
xor edx, edx
test eax, eax
jne 0x14002e4b6
mov r12d, 0x168
mov r8d, r12d
lea rcx, [rbp + 0x50]
call fcn.140034b00
mov dword [rbp], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea r8d, [r14 + 5]
lea rdx, str.trace3_r_n
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rax, str.13:16:33
mov qword [rsp + 0x28], rax
lea rax, str.Apr_30_2020
mov qword [rsp + 0x20], rax
lea r9, str.Compiled:__s__s_r_n
mov r8, rsi
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.14003223c
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea ebx, [r12 - 0x63]
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x1c0]
call fcn.140034b00
mov dword [rbp + 8], ebx
call fcn.14002f6e8
mov rcx, rax
mov r8d, ebx
lea rdx, [rbp + 0x1c0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, str.File_location:__s_r_n
mov r8, rsi
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.14003223c
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call fcn.140031c0c
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x2d0]
call fcn.140034b00
mov dword [rbp + 8], 0x104
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x2d0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, str.Machine_name:__s_r_n
mov r8, rsi
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.14003223c
mov r8d, r14d
lea rdx, [0x140057dac]
lea rcx, [rbp + 0x1b5]
call fcn.1400346b0
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, qword [str.3.0.1]
mov qword [rsp + 0x20], rax
lea r9, str.Trace_Ver:__s_r_n
mov r8, rsi
mov edx, r12d
lea rcx, [rbp + 0x50]
call fcn.14003223c
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call fcn.140031ba0
test al, al
jne 0x14002e3f0
lea rcx, str.FileVersion:_UNKNOWN_r_n
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, str.FileVersion:_UNKNOWN_r_n
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call fcn.140031e80
test eax, eax
jne 0x14002e425
lea rcx, str.No_U.are.U_products_found_r_n
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, str.No_U.are.U_products_found_r_n
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.14002fcf0
lea rcx, str.installation:_LOCAL_r_n
lea r8, str.installation:_NETWORK_r_n
test eax, eax
cmovne r8, rcx
mov r9, rsi
mov rdx, r12
lea rcx, [rbp + 0x50]
call fcn.14003ba30
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call fcn.140031848
mov r9, rsi
lea r8, [0x140057e28]
mov rdx, r12
lea rcx, [rbp + 0x50]
call fcn.14003ba30
lea rcx, [rbp + 0x50]
call fcn.14003b600
mov r8, rax
mov qword [rsp + 0x20], r15
lea r9, [rbp]
lea rdx, [rbp + 0x50]
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x14002e61d
mov r9d, 2
xor r8d, r8d
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov word [rbp + 0x38], r15w
xor eax, eax
mov qword [rbp + 0x3a], rax
mov dword [rbp + 0x42], eax
mov word [rbp + 0x46], ax
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ebx, 0x105
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x1c0]
call fcn.140034b00
movzx eax, word [rbp + 0x38]
movzx ecx, word [rbp + 0x3e]
movzx edx, word [rbp + 0x3a]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea r9, str._02u__02u__02u
mov r8, rsi
mov edx, ebx
lea rcx, [rbp + 0x1c0]
call fcn.14003223c
mov rbx, r15
mov qword [rbp + 8], rbx
lea rcx, [rbp + 0x1c0]
call fcn.14003b600
lea r14, [rax + 7]
cmp r14, 0x400
ja 0x14002e57d
mov rcx, r14
call fcn.140011244
test al, al
je 0x14002e57d
lea rax, [r14 + 0xf]
cmp rax, r14
ja 0x14002e56a
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.140033c40
sub rsp, rax
lea rsi, [rsp + 0x40]
jmp 0x14002e5ae
mov rax, r14
not rax
cmp rax, 0x10
jb 0x14002e612
lea rcx, [r14 + 0x10]
call fcn.140037abc
test rax, rax
jne 0x14002e5a0
mov rsi, r15
jmp 0x14002e5ae
mov qword [rax], r15
mov rbx, rax
mov qword [rbp + 8], rax
lea rsi, [rax + 0x10]
test rsi, rsi
je 0x14002e5fa
mov byte [rsi + 4], 0x4e
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsi], eax
lea rcx, [rbp + 0x1c0]
call fcn.14003b600
mov word [rsi + 5], ax
test ax, ax
je 0x14002e5e8
movzx r8d, ax
lea rcx, [rsi + 7]
lea rdx, [rbp + 0x1c0]
call fcn.1400346b0
xor r9d, r9d
mov r8, r14
mov rdx, rsi
mov rcx, rdi
call fcn.140031430
nop
jmp 0x14002e60b
mov rcx, rbx
mov rbx, qword [rbx]
mov qword [rbp + 8], rbx
call fcn.140037ab4
test rbx, rbx
jne 0x14002e5fc
jmp 0x14002e61d
mov ecx, 0x80070216
call fcn.140007b38
nop
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14002e630
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], r15d
mov rax, rdi
mov rcx, qword [rbp + 0x3e0]
xor rcx, rbp
call fcn.140033cb0
mov rbx, qword [rbp + 0x428]
mov rsi, qword [rbp + 0x430]
lea rsp, [rbp + 0x3f0]
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret