Function at 0x140026f60
Capabilities:
Link many functions at runtime
Query environment variable
Set environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov edx, 0xa
mov rcx, qword [rsp + 0xb0]
call fcn.140029800
nop
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xd8], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xd0], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x38], 0
call fcn.140007560
mov rdx, rax
add rdx, 0x170
lea rcx, [rsp + 0x40]
call fcn.140001bf0
nop
call fcn.140007560
call fcn.140075dc0
test eax, eax
je 0x140026ffb
lea rdx, [0x14010e650]
lea rcx, [rsp + 0x40]
call fcn.140002d50
jmp 0x14002700c
lea rdx, [0x14010e660]
lea rcx, [rsp + 0x40]
call fcn.140002d50
lea r8, [rsp + 0x40]
lea rdx, [0x14010e66c]
lea rcx, [rsp + 0x58]
call fcn.140007650
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140001970
nop
lea rcx, [rsp + 0x58]
call fcn.140003a70
xor r8d, r8d
xor edx, edx
lea rcx, [0x14010e670]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1400270a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov r8d, dword [rsp + 0x48]
lea rdx, [0x14010e678]
lea rcx, str._s___return__1__LastError_u_GetEnvironmentVariable_returned_zero._n
call fcn.140062f80
nop
lea rcx, [rsp + 0x40]
call fcn.140003a70
jmp 0x14002795c
lea rcx, [rsp + 0x40]
call fcn.140003bb0
mov r11d, eax
mov eax, dword [rsp + 0x30]
lea eax, [rax + r11 + 1]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x38]
call fcn.140096bcc
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14010e6f4]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x140027140
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x4c], eax
mov r8d, dword [rsp + 0x4c]
lea rdx, [0x14010e700]
lea rcx, str._s___return__2__LastError_u_GetEnvironmentVariable_returned_zero._n
call fcn.140062f80
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140096bc4
nop
lea rcx, [rsp + 0x40]
call fcn.140003a70
jmp 0x14002795c
lea rcx, [rsp + 0x40]
call fcn.1400018a0
mov edx, dword [rsp + 0x38]
mov r8, rax
mov rcx, qword [rsp + 0x28]
call fcn.1400c8194
mov rdx, qword [rsp + 0x28]
lea rcx, [0x14010e774]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x30], 0
jne 0x1400271be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov r8d, dword [rsp + 0x50]
lea rdx, [0x14010e780]
lea rcx, str._s___return__3__LastError_u_SetEnvironmentVariable_returned_zero._n
call fcn.140062f80
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140096bc4
nop
lea rcx, [rsp + 0x40]
call fcn.140003a70
jmp 0x14002795c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0x78]
call fcn.140096bc4
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call fcn.140007560
call fcn.140075dc0
test eax, eax
je 0x140027200
lea rax, [0x14010e7f8]
mov qword [rsp + 0x20], rax
jmp 0x14002720c
lea rax, [0x14010e808]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x38], r11
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x38], 0
jne 0x140027278
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x54], eax
mov r8d, dword [rsp + 0x54]
lea rdx, [0x14010e818]
lea rcx, str._s___return__4__LastError_u_LoadLibrary_fail._n
call fcn.140062f80
mov rdx, qword [rsp + 0x20]
lea rcx, str.__pszPMCoreModule__s__n
call fcn.140062f80
nop
lea rcx, [rsp + 0x40]
call fcn.140003a70
jmp 0x14002795c
lea rdx, str.PMClosePrinterInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x60], r11
lea rdx, str.PMEnumFreePrinterInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x50], r11
lea rdx, str.PMEnumPrinterInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x48], r11
lea rdx, str.PMGetIFVersion
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x40], r11
lea rdx, str.PMGetPrinterInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x68], r11
lea rdx, str.PMOpenPrinterInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x58], r11
lea rdx, str.PMEnableCBFunc
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x70], r11
lea rdx, str.PMDisableCBFunc
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x78], r11
lea rdx, [0x14010e938]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x80], r11
lea rdx, [0x14010e948]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x88], r11
lea rdx, [0x14010e960]
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x90], r11
lea rdx, str.PMEnumPeripheralInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x98], r11
lea rdx, str.PMEnumFreePeripheralInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xa0], r11
lea rdx, str.PMDevConnectInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xa8], r11
lea rdx, str.PMDevGetListInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xb0], r11
lea rdx, str.PMDevFreeListInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xb8], r11
lea rdx, str.PMDevOpen
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xc0], r11
lea rdx, str.PMDevClose
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0xc8], r11
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x60]
lea rdx, [0x14010ea10]
lea rcx, str._s____5__m_pPMClosePrinterInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x50]
lea rdx, [0x14010ea68]
lea rcx, str._s____6__m_pPMEnumFreePrinterInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x48]
lea rdx, [0x14010eac8]
lea rcx, str._s____7__m_pPMEnumPrinterInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x40]
lea rdx, [0x14010eb20]
lea rcx, str._s____8__m_pPMGetIFVersion__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x68]
lea rdx, [0x14010eb78]
lea rcx, str._s____9__m_pPMGetPrinterInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x58]
lea rdx, [0x14010ebd0]
lea rcx, str._s____10__m_pPMOpenPrinterInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x70]
lea rdx, [0x14010ec28]
lea rcx, str._s____11__m_pPMEnableCBFunc__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x78]
lea rdx, [0x14010ec80]
lea rcx, str._s____12__m_pPMDisableCBFunc__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0x98]
lea rdx, [0x14010ecd8]
lea rcx, str._s____13__m_pPMEnumPeripheralInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xa0]
lea rdx, [0x14010ed38]
lea rcx, str._s____14__m_pPMEnumFreePeropheraIinfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xa8]
lea rdx, [0x14010ed98]
lea rcx, str._s____15__m_pPMDevConnectInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xb0]
lea rdx, [0x14010edf0]
lea rcx, str._s____16__m_pPMDevGetListInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xb8]
lea rdx, [0x14010ee48]
lea rcx, str._s____17__m_pPMDevFreeListInfo__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xc0]
lea rdx, [0x14010eea0]
lea rcx, str._s____18__m_pPMDevOpen__I64X__n
call fcn.140062f80
mov r8, qword [rsp + 0xb0]
mov r8, qword [r8 + 0xc8]
lea rdx, [0x14010eef0]
lea rcx, str._s____19__m_pPMDevClose__I64X__n
call fcn.140062f80
lea rdx, str.PMIpCheck
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x80], r11
lea rdx, str.PMGetPrinterAddr
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x88], r11
lea rdx, str.PMConnectInfo
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r11, rax
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x90], r11
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x60], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x50], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x48], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x40], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x58], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x70], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x78], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x80], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x88], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x90], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x98], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xa0], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xa8], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xb0], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xb8], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xc0], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0xc8], 0
je 0x14002793d
mov rax, qword [rsp + 0xb0]
mov dword [rax + 0xd8], 1
jmp 0x140027951
lea rdx, [0x14010ef80]
lea rcx, str._s____50__It_failed_in_reading_of_the_function_of_RNCClient.__n
call fcn.140062f80
nop
lea rcx, [rsp + 0x40]
call fcn.140003a70
nop
mov rax, qword [rsp + 0xb0]
add rsp, 0xa8
ret