Function at 0x102664c
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x01042480]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor r15d, r15d
mov r13, rdx
mov r14, rcx
cmp word [rdx], r15w
jne 0x102668b
xor eax, eax
jmp 0x1026a15
lea rax, [rsp + 0x40]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
lea r8d, [r9 + 2]
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov rsi, r15
mov rdi, r15
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x20], r15d
call sub.WINSPOOL.DRV_EnumPrinterDriversW
mov eax, dword [rsp + 0x44]
cmp eax, r15d
je 0x102697d
mov rcx, rax
call fcn.010233b0
mov rbp, rax
cmp rax, r15
je 0x102697d
lea rax, [rsp + 0x40]
xor edx, edx
mov r9, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
lea r8d, [rdx + 2]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x44]
xor ecx, ecx
mov dword [rsp + 0x20], eax
call sub.WINSPOOL.DRV_EnumPrinterDriversW
cmp eax, 1
jne 0x1026770
mov eax, dword [rsp + 0x40]
mov ebx, r15d
cmp eax, r15d
jbe 0x1026770
lea r12, [rbp + 8]
mov rcx, qword [r12]
cmp rcx, r15
je 0x1026741
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
je 0x102674d
mov eax, dword [rsp + 0x40]
inc ebx
add r12, 0x30
cmp ebx, eax
jae 0x1026770
jmp 0x1026726
mov eax, ebx
lea rbx, [rax + rax*2]
add rbx, rbx
mov rcx, qword [rbp + rbx*8 + 0x18]
call fcn.010254f4
mov rcx, qword [rbp + rbx*8 + 0x20]
mov rdi, rax
call fcn.010254f4
mov rsi, rax
mov rcx, rbp
call fcn.01023428
mov ebx, 0x5c
cmp rdi, r15
je 0x10267a2
mov edx, ebx
mov rcx, rdi
call fcn.01027a10
cmp rax, r15
je 0x1026797
mov word [rax], r15w
jmp 0x10267a2
mov rcx, rdi
call fcn.01023428
mov rdi, r15
cmp rsi, r15
je 0x102697d
mov edx, ebx
mov rcx, rsi
call fcn.010270f8
cmp rax, r15
jne 0x1026829
cmp rdi, r15
je 0x1026829
mov rcx, rdi
call fcn.010254ac
mov rcx, rsi
mov r9, rax
call fcn.010254ac
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x1026829
lea rcx, [rbp + rbp]
call fcn.010233b0
mov rbx, rax
cmp rax, r15
je 0x1026829
lea r8, [0x01007df8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rsi
call fcn.0100cddc
cmp eax, r15d
jne 0x102681c
mov rcx, rsi
call fcn.01023428
mov rsi, rbx
mov rbx, r15
cmp rbx, r15
je 0x1026829
mov rcx, rbx
call fcn.01023428
cmp rsi, r15
je 0x102697d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x80
call fcn.010328a0
xor r11d, r11d
lea rbp, [0x010033f0]
lea r9, [rsp + 0x48]
lea rdx, [0x0100c068]
lea rcx, [0x0100bf90]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100c080]
lea rcx, [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x10268aa
cmp ebx, r15d
jbe 0x10268aa
lea rdx, [0x0100c088]
lea rcx, [0x01003478]
jmp 0x10268e9
lea r9, [rsp + 0x50]
lea rdx, [0x0100c088]
lea rcx, [0x01003478]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp eax, r15d
jne 0x1026907
lea rdx, [0x0100c0c0]
lea rcx, [0x010034a0]
lea r9, [rsp + 0x50]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r11d, eax
cmp r11d, r15d
jbe 0x102697d
cmp rdi, r15
je 0x102696b
mov rcx, rdi
call fcn.010254ac
mov ecx, r11d
lea rbp, [rax + rcx + 2]
lea rcx, [rbp + rbp]
call fcn.010233b0
mov rbx, rax
cmp rax, r15
je 0x102696b
lea rax, [rsp + 0x50]
lea r8, [0x01007df8]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100cddc
cmp eax, r15d
je 0x1026962
mov rcx, rbx
call fcn.01023428
mov rbx, r15
cmp rbx, r15
jne 0x10269f4
lea rcx, [rsp + 0x50]
call fcn.010254f4
mov rbx, rax
cmp rax, r15
jne 0x10269f4
lea rcx, [0x0100c0a0]
call fcn.010254f4
mov rbx, rax
cmp rdi, r15
je 0x10269f4
mov rcx, rdi
call fcn.010254ac
mov rcx, rbx
mov r9, rax
call fcn.010254ac
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x10269f4
lea rcx, [r12 + r12]
call fcn.010233b0
mov rbp, rax
cmp rax, r15
je 0x10269f4
lea r8, [0x01007df8]
mov r9, rdi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100cddc
cmp eax, r15d
jne 0x10269ec
mov rcx, rbx
call fcn.01023428
mov rbx, rbp
jmp 0x10269f4
mov rcx, rbp
call fcn.01023428
cmp rsi, r15
je 0x1026a01
mov rcx, rsi
call fcn.01023428
cmp rdi, r15
je 0x1026a0e
mov rcx, rdi
call fcn.01023428
mov qword [r14 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.01026f20
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret