Function at 0x1400b6260
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor r8d, r8d
lea rdx, str.CBaseInfoEnvIni::LoadCmnEnvIni
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
xor r13d, r13d
mov word [rsp + 0x60], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.14024b970
mov rcx, qword [0x1403b9758]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov r9, qword [rax]
lea r8, str.CommonIniData
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [r9 + 0x50]
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x50]
lea rbx, [rdi + 0x1a7c]
mov r9, qword [rax]
mov r8d, 0x104
mov rdx, rbx
mov rcx, rax
call qword [r9 + pe_nt_image_headers64]
lea r8, str.Envini.INI
mov edx, 0x104
mov rcx, rbx
call fcn.140246470
mov r9, rbx
lea r8, str._t_t_tFile___s.
lea edx, [r13 + 7]
lea rcx, [rsp + 0x48]
call fcn.140007780
lea r9, [rdi + 8]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
lea r14, [0x1402dc4e0]
mov r8, r14
lea rdx, str.Data_Type
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0x210]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
mov r8, r14
lea rdx, str.PrintProcessor
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r9, rbx
xor r8d, r8d
lea rdx, str.Priority
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x418], eax
mov r9, rbx
xor r8d, r8d
lea rdx, str.TransmissionRetryTimeout
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x41c], eax
mov r9, rbx
xor r8d, r8d
lea rdx, str.DeviceNotSelectedTimeout
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rdi + 0x420], eax
lea r9, [rdi + 0x424]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x208
mov r8, r14
lea rdx, str.DefaultPort
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0x834]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x208
mov r8, r14
lea rdx, str.Printer_Name
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0x1054]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x208
mov r8, r14
lea rdx, str.Port_Name
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0x1464]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x208
mov r8, r14
lea rdx, str.Driver_Name
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0xc44]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x208
mov r8, r14
lea rdx, str.Share_Name
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea r9, [rdi + 0x1874]
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x104
mov r8, r14
lea rdx, str.Manufacturer
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rdi + 0x1d08], 1
mov dword [rdi + 0x1db8], r13d
lea rcx, [rdi + 0x1dbc]
lea r8, [0x140302080]
lea edx, [r13 + 0x21]
call fcn.140246628
mov dword [rdi + 0x203c], 0x238c
lea rcx, [rdi + 0x1d76]
lea r8, str.public
lea edx, [r13 + 0x21]
call fcn.140246628
mov dword [rdi + 0x2040], 1
mov dword [rdi + 0x2044], 1
mov dword [rsp + 0x40], r13d
call fcn.140102a14
mov r11, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400b656f
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rsi, r14
shr rsi, 0x10
test rsi, rsi
jne 0x1400b65af
movzx ebx, r14w
mov ecx, ebx
call fcn.1401027e8
test rax, rax
je 0x1400b65c0
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005b00
jmp 0x1400b65c0
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140005d50
nop
lea r12, [rdi + 0x1c84]
mov rax, qword [rdi]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x40]
lea r8, str.TCPIPPortMIBDefaultSetting
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400b6609
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140102a14
mov rcx, rax
test rax, rax
setne r13b
test r13d, r13d
jne 0x1400b6628
mov ecx, 0x80004005
call fcn.140005210
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
test rsi, rsi
jne 0x1400b665e
movzx esi, r14w
mov ecx, esi
call fcn.1401027e8
test rax, rax
je 0x1400b666f
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005b00
jmp 0x1400b666f
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140005d50
nop
mov rax, qword [rdi]
lea r9, [rdi + 0x2048]
mov qword [rsp + 0x20], r12
lea r8, str.TCPIPPortMIBOverwriteSetting
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [rax + reloc.WSOCK32.dll_recv]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400b66af
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, 1
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140245660
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret