Function at 0x140011848
Capabilities:
Get file size
Read .ini file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3f8]
sub rsp, 0x4d0
mov rax, qword [0x1400e6870]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
xor r14d, r14d
mov qword [rbp - 0x68], rdx
mov qword [rdx], r14
mov r8d, r14d
mov r9d, r14d
mov r12d, 0x104
test rcx, rcx
je 0x1400118e7
movzx eax, word [rcx]
mov edx, r14d
cmp ax, 0x5c
je 0x1400118ac
cmp ax, 0x2f
jne 0x1400118af
mov r9, r8
inc r8
mov word [rbp + rdx + 0x1b0], ax
lea rdx, [r8 + r8]
movzx eax, word [rdx + rcx]
test ax, ax
je 0x1400118cc
cmp r8, r12
jb 0x1400118a0
lea rax, [r9 + r9]
cmp rax, 0x208
jae 0x140011def
mov word [rbp + rax + 0x1b0], r14w
jmp 0x1400118ef
mov word [rbp + 0x1b0], r14w
lea r9, str.SecurityProductInformation.ini
mov qword [rsp + 0x58], r14
lea r8, [rbp + 0x1b0]
lea rdx, [0x1400b7b30]
lea rcx, [rsp + 0x58]
call fcn.1400a3c2c
mov rbx, qword [rsp + 0x58]
lea rcx, [rsp + 0x50]
or r15, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov rdx, rbx
mov qword [rsp + 0x50], r15
lea r9d, [r15 + 2]
call fcn.1400a30a4
mov edi, eax
test eax, eax
jns 0x1400119c7
mov rcx, qword [0x1400df278]
lea rsi, [0x1400df278]
cmp rcx, rsi
je 0x140011971
test byte [rcx + 0x1c], 1
je 0x140011971
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x18]
mov r9d, eax
lea r8, [0x1400b85d8]
call fcn.14000a9b0
mov rcx, qword [rsp + 0x50]
cmp rcx, r15
je 0x140011987
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140011994
mov rcx, rbx
call fcn.1400ac0d0
mov eax, edi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.1400abb00
lea r11, [rsp + 0x4d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
lea rsi, [0x1400df278]
test eax, eax
jne 0x140011a2f
call fcn.1400a8fb0
mov dword [rsp + 0x50], eax
mov rcx, qword [0x1400df278]
cmp rcx, rsi
je 0x140011a29
test byte [rcx + 0x1c], 1
je 0x140011a29
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400c5870]
mov edx, 0x2b
mov r9d, eax
call fcn.14000a9b0
mov rcx, qword [0x1400df278]
mov eax, dword [rsp + 0x50]
mov rdx, qword [rbp - 0x68]
jmp 0x140011a42
mov rdx, qword [rsp + 0x60]
mov eax, r14d
mov rcx, qword [0x1400df278]
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x140011a6b
cmp rcx, rsi
je 0x140011a9b
test byte [rcx + 0x1c], 1
je 0x140011a9b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b85d8]
mov edx, SafeArrayPutElement
mov r9d, eax
call fcn.14000a9b0
jmp 0x140011a9b
cmp rdx, 0x800
jbe 0x140011ac5
cmp rcx, rsi
je 0x140011a9b
test byte [rcx + 0x1c], 1
je 0x140011a9b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b85d8]
mov edx, reloc.OLEAUT32.dll_SafeArrayPutElement
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.140010d3c
cmp rdi, r15
je 0x140011aaf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rbx, rbx
je 0x140011abc
mov rcx, rbx
call fcn.1400ac0d0
mov eax, dword [rsp + 0x50]
jmp 0x140011996
lea rsi, [0x1400b7b40]
mov qword [rsp + 0x28], rbx
lea r15, str.Products
mov qword [rbp - 0x70], r14
mov r8, rsi
mov qword [rsp + 0x58], r14
mov rcx, r15
mov qword [rbp - 0x78], r14
lea r9, [rbp - 0x60]
mov qword [rbp - 0x80], r14
lea rdx, str.Name
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
mov r13d, 0x20a
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.___Name_:__ls
lea rcx, [rbp - 0x70]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.Company
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.Company_:__ls
lea rcx, [rsp + 0x58]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.PathToSignedReportingExe
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.PathToSignedReportingExe_:__ls
lea rcx, [rbp - 0x78]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.Version
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.Version_:__ls
lea rcx, [rbp - 0x80]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.Environment
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.Environment_:__ls
lea rcx, [rsp + 0x78]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.Runtime_platform
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.Runtime_platform_:__ls
lea rcx, [rsp + 0x70]
call fcn.1400a3c2c
lea r9, [rbp - 0x60]
mov qword [rsp + 0x28], rbx
mov r8, rsi
mov dword [rsp + 0x20], r12d
lea rdx, str.Upgrade
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
nop dword [rax + rax]
mov eax, eax
add rax, rax
cmp rax, r13
jae 0x140011def
lea r8, [rbp - 0x60]
mov word [rbp + rax - 0x60], r14w
lea rdx, str.Upgrade_:__ls
lea rcx, [rsp + 0x68]
call fcn.1400a3c2c
mov rax, qword [rsp + 0x68]
lea rdx, str._ls____ls____ls____ls____ls____ls____ls
mov rsi, qword [rsp + 0x70]
lea rcx, [rsp + 0x60]
mov r15, qword [rbp - 0x80]
mov r13, qword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
mov r8, r13
mov r9, qword [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], r14
mov r14, qword [rsp + 0x78]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r12
call fcn.1400a3c2c
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp - 0x68]
mov qword [rcx], rax
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140011d96
mov rcx, rax
call fcn.1400ac0d0
test rsi, rsi
je 0x140011da3
mov rcx, rsi
call fcn.1400ac0d0
test r14, r14
je 0x140011db0
mov rcx, r14
call fcn.1400ac0d0
test r15, r15
je 0x140011dbd
mov rcx, r15
call fcn.1400ac0d0
test r12, r12
je 0x140011dca
mov rcx, r12
call fcn.1400ac0d0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140011dd9
call fcn.1400ac0d0
test r13, r13
je 0x140011de6
mov rcx, r13
call fcn.1400ac0d0
cmp rdi, 0xffffffffffffffff
jmp 0x140011a9e
call fcn.1400abc68
int3