Function at 0x100114a80
Capabilities:
Check os version
Get common file path
Get hostname
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
sub rsp, 0x250
mov rax, qword [0x100176150]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
xor ebx, ebx
lea rcx, [0x1000422d8]
lea esi, [rbx + 1]
call fcn.10011cf34
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bx
call sub.msvcrt.dll_memset
cmp rdi, rbx
jne 0x100114b11
lea r9d, [rbx + 0x57]
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 - 0x1d]
lea rax, [0x100042310]
jmp 0x100114f64
xor edx, edx
mov r8d, 0x220
mov rcx, rdi
call sub.msvcrt.dll_memset
lea rdx, [rdi + 0x34]
lea rcx, [rdi + 0x38]
mov dword [rdx], reloc.ATL.DLL_AtlModuleInit
mov dword [rdi + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, ebx
jne 0x100114b88
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x3b
mov rcx, qword [0x100177368]
mov r9d, eax
lea rax, [0x10003fc40]
jmp 0x100114f64
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
call fcn.10011d3f0
mov qword [rdi + 0x18], rax
cmp rax, rbx
jne 0x100114bd7
mov r9d, AtlModuleInit
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0x2e]
lea rax, [0x100042320]
jmp 0x100114f64
lea rcx, [0x100042338]
mov r8d, 6
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, ebx
jne 0x100114c2d
mov r9d, 0xa
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0x33]
lea rax, [0x100042368]
jmp 0x100114f64
cmp eax, 6
jbe 0x100114c6e
mov r9d, 0x32
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0xc]
lea rax, [0x100042380]
jmp 0x100114f64
lea rcx, [rdi + 0x58]
mov dword [rcx], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
jne 0x100114cbd
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x3f
jmp 0x100114b72
call fcn.100117c3c
mov dword [rdi + 0x20], eax
cmp eax, ebx
jne 0x100114d06
mov r9d, 0x65e
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
mov edx, 0x40
lea rax, [0x100041e60]
jmp 0x100114f64
mov ebp, 0x104
mov rcx, qword [rdi]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [rbp + rbp + 2]
mov qword [rdi], rbx
call fcn.10011d3f0
mov qword [rdi], rax
cmp rax, rbx
je 0x100114f35
mov edx, ebp
mov rcx, rax
mov r12d, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov ebp, eax
cmp eax, ebx
je 0x100114f02
cmp eax, r12d
ja 0x100114d0b
mov rax, qword [rdi]
mov ebp, 0x104
mov word [rax + r12*2], bx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [rbp + rbp + 2]
mov qword [rdi + 8], rbx
call fcn.10011d3f0
mov qword [rdi + 8], rax
cmp rax, rbx
je 0x100114ec9
mov edx, ebp
mov rcx, rax
mov r12d, ebp
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebp, eax
cmp eax, ebx
je 0x100114e8e
cmp eax, r12d
ja 0x100114d56
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x30]
mov edx, 0x104
mov word [rax + r12*2], bx
call fcn.10011365c
cmp eax, ebx
jne 0x100114dee
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x45
jmp 0x100114b72
lea rcx, [rdi + 0x174]
call qword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
jne 0x100114e3b
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x46
jmp 0x100114b72
lea rcx, [rsp + 0x30]
call fcn.10011d430
mov qword [rdi + 0x10], rax
cmp rax, rbx
jne 0x100114f79
mov r9d, AtlModuleInit
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0x39]
lea rax, [0x1000423d8]
jmp 0x100114f64
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x44
jmp 0x100114b72
mov r9d, AtlModuleInit
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0x35]
lea rax, [0x1000423b8]
jmp 0x100114f64
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x42
jmp 0x100114b72
mov r9d, AtlModuleInit
mov esi, ebx
mov ebx, r9d
mov rcx, qword [0x100177368]
lea rax, [0x100177368]
cmp rcx, rax
je 0x100114f79
test byte [rcx + 0x1c], 8
je 0x100114f79
lea edx, [r9 + 0x33]
lea rax, [0x100042398]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1000039c0]
mov qword [rsp + 0x20], rax
call fcn.100106f14
lea rcx, [0x1000422d8]
call fcn.10011cf74
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.100130df0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret