Function at 0x1028b10
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, 0x100
mov rax, qword [0x01045480]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r15d, r15d
mov r13, rdx
mov r14, rcx
cmp word [rdx], r15w
jne 0x1028b4f
xor eax, eax
jmp 0x1028f05
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 0x1028e6d
mov rcx, rax
call fcn.010278c0
mov rbx, rax
cmp rax, r15
je 0x1028e6d
lea rax, [rsp + 0x40]
xor edx, edx
mov r9, rbx
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 0x1028c60
mov eax, dword [rsp + 0x40]
mov ebp, r15d
cmp eax, r15d
jbe 0x1028c60
lea r12, [rbx + 8]
mov rcx, qword [r12]
cmp rcx, r15
je 0x1028c09
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
je 0x1028c15
mov eax, dword [rsp + 0x40]
inc ebp
add r12, 0x30
cmp ebp, eax
jae 0x1028c60
jmp 0x1028bee
mov eax, ebp
lea rbp, [rax + rax*2]
add rbp, rbp
mov rcx, qword [rbx + rbp*8 + 0x18]
call fcn.01027938
mov r8, qword [rbx + rbp*8 + 0x20]
mov rdi, rax
cmp r8, r15
je 0x1028c60
mov rdx, qword [rbx + rbp*8 + 8]
lea rcx, [rsp + 0x48]
call fcn.010291b0
mov rcx, qword [rsp + 0x50]
cmp rcx, r15
je 0x1028c56
call fcn.01027938
mov rsi, rax
lea rcx, [rsp + 0x48]
call fcn.01029744
mov rcx, rbx
call fcn.0102990c
mov ebx, 0x5c
cmp rdi, r15
je 0x1028c92
mov edx, ebx
mov rcx, rdi
call fcn.0102a770
cmp rax, r15
je 0x1028c87
mov word [rax], r15w
jmp 0x1028c92
mov rcx, rdi
call fcn.0102990c
mov rdi, r15
cmp rsi, r15
je 0x1028e6d
mov edx, ebx
mov rcx, rsi
call fcn.01029e5c
cmp rax, r15
jne 0x1028d19
cmp rdi, r15
je 0x1028d19
mov rcx, rdi
call fcn.01029940
mov rcx, rsi
mov r9, rax
call fcn.01029940
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x1028d19
lea rcx, [rbp + rbp]
call fcn.010278c0
mov rbx, rax
cmp rax, r15
je 0x1028d19
lea r8, [0x0100adb8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rsi
call fcn.0100fd0c
cmp eax, r15d
jne 0x1028d0c
mov rcx, rsi
call fcn.0102990c
mov rsi, rbx
mov rbx, r15
cmp rbx, r15
je 0x1028d19
mov rcx, rbx
call fcn.0102990c
cmp rsi, r15
je 0x1028e6d
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x80
call fcn.01035300
xor r11d, r11d
lea rbp, [0x010063c0]
lea r9, [rsp + 0x60]
lea rdx, [0x0100ef80]
lea rcx, [0x0100eea0]
mov r8, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x60], r11
mov dword [rsp + 0x20], 4
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [0x0100ef98]
lea rcx, [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x1028d9a
cmp ebx, r15d
jbe 0x1028d9a
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
jmp 0x1028dd9
lea r9, [rsp + 0x70]
lea rdx, [0x0100efa0]
lea rcx, [0x01006448]
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 0x1028df7
lea rdx, [0x0100efb8]
lea rcx, [0x01006470]
lea r9, [rsp + 0x70]
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 0x1028e6d
cmp rdi, r15
je 0x1028e5b
mov rcx, rdi
call fcn.01029940
mov ecx, r11d
lea rbp, [rax + rcx + 2]
lea rcx, [rbp + rbp]
call fcn.010278c0
mov rbx, rax
cmp rax, r15
je 0x1028e5b
lea rax, [rsp + 0x70]
lea r8, [0x0100adb8]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100fd0c
cmp eax, r15d
je 0x1028e52
mov rcx, rbx
call fcn.0102990c
mov rbx, r15
cmp rbx, r15
jne 0x1028ee4
lea rcx, [rsp + 0x70]
call fcn.01027938
mov rbx, rax
cmp rax, r15
jne 0x1028ee4
lea rcx, [0x0100efd0]
call fcn.01027938
mov rbx, rax
cmp rdi, r15
je 0x1028ee4
mov rcx, rdi
call fcn.01029940
mov rcx, rbx
mov r9, rax
call fcn.01029940
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x1028ee4
lea rcx, [r12 + r12]
call fcn.010278c0
mov rbp, rax
cmp rax, r15
je 0x1028ee4
lea r8, [0x0100adb8]
mov r9, rdi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100fd0c
cmp eax, r15d
jne 0x1028edc
mov rcx, rbx
call fcn.0102990c
mov rbx, rbp
jmp 0x1028ee4
mov rcx, rbp
call fcn.0102990c
cmp rsi, r15
je 0x1028ef1
mov rcx, rsi
call fcn.0102990c
cmp rdi, r15
je 0x1028efe
mov rcx, rdi
call fcn.0102990c
mov qword [r14 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.01029cb0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret