Function at 0x140129e38
Capabilities:
Get file version info
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402744d0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
and dword [rsp + 0x40], 0
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rbp - 0x80]
call fcn.1400279a0
nop
lea rdx, str.Windows_
lea rcx, [rbp - 0x70]
call fcn.14002c360
and dword [rsp + 0x24], 0
lea rdx, [rsp + 0x24]
mov rcx, qword [str.Kernel32.dll]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
mov edx, eax
lea rcx, str.OSVersionInfo
call fcn.14010ee44
mov rdi, rax
xor r14b, r14b
mov r9, rax
mov r8d, ebx
xor edx, edx
mov rcx, qword [str.Kernel32.dll]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x14012a07f
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14012a07f
mov edx, 3
lea r8d, [rdx - 2]
lea rcx, [rbp + 0x80]
call fcn.1400279a0
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0x90]
call fcn.14002c360
mov edx, 4
lea rcx, [rbp + 0x180]
call fcn.1401386bc
mov rbx, rax
mov dl, 0x30
lea rcx, [rsp + 0x20]
call fcn.140120e48
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140120e24
mov rcx, rax
mov rdx, rbx
call fcn.14011c910
mov rcx, rax
lea rdx, [0x14012a13c]
call fcn.1400287c0
mov rcx, rax
lea rdx, [fcn.140016ad0]
call fcn.1400287c0
mov rcx, rax
mov rax, qword [rsp + 0x30]
movzx edx, word [rax]
call fcn.140104468
mov edx, 4
lea rcx, [rbp + 0x180]
call fcn.1401386bc
mov rbx, rax
mov dl, 0x30
lea rcx, [rsp + 0x20]
call fcn.140120e48
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.140120e24
mov rcx, rax
mov rdx, rbx
call fcn.14011c910
mov rcx, rax
lea rdx, [0x14012a13c]
call fcn.1400287c0
mov rcx, rax
lea rdx, [fcn.140016ad0]
call fcn.1400287c0
mov rcx, rax
mov rax, qword [rsp + 0x30]
movzx edx, word [rax + 2]
call fcn.140104468
lea rdx, [0x1401e2c80]
lea rcx, [rbp + 0x90]
call fcn.14002c360
and qword [rsp + 0x38], 0
and dword [rsp + 0x2c], 0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x80]
call fcn.140027980
mov rcx, rax
call fcn.14000a920
mov rdx, rax
lea r9, [rsp + 0x2c]
lea r8, [rsp + 0x38]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueA
mov ebx, eax
lea rcx, [rbp + 0x180]
call fcn.14000aa50
test ebx, ebx
je 0x14012a073
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp - 0x70]
call fcn.14002c360
mov r14b, 1
lea rcx, [rbp + 0x80]
call fcn.14001e3a0
mov rcx, rdi
call fcn.14010b920
test r14b, r14b
jne 0x14012a09c
lea rdx, str.Unknown_Version
lea rcx, [rbp - 0x70]
call fcn.14002c360
xor edx, edx
lea r8d, [rdx + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140178d90
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [rsp + 0x50]
test eax, eax
je 0x14012a0e9
cmp eax, 6
je 0x14012a0e0
lea rcx, [rbp - 0x70]
cmp eax, 9
je 0x14012a0d7
lea rdx, str._Unknown_Processor_Architecture
jmp 0x14012a0f4
lea rdx, str._AMD64
jmp 0x14012a0f4
lea rdx, str._IA64
jmp 0x14012a0f0
lea rdx, str._x86
lea rcx, [rbp - 0x70]
call fcn.14002c360
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140027980
nop
lea rcx, [rbp - 0x80]
call fcn.14001e3a0
mov rax, rsi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140158980
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret