Function at 0x1027b10
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 [0x01044480]
xor rax, rsp
mov qword [rsp + 0xf0], rax
xor r15d, r15d
mov r13, rdx
mov r14, rcx
cmp word [rdx], r15w
jne 0x1027b4f
xor eax, eax
jmp 0x1027f05
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 0x1027e6d
mov rcx, rax
call fcn.010268c0
mov rbx, rax
cmp rax, r15
je 0x1027e6d
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 0x1027c60
mov eax, dword [rsp + 0x40]
mov ebp, r15d
cmp eax, r15d
jbe 0x1027c60
lea r12, [rbx + 8]
mov rcx, qword [r12]
cmp rcx, r15
je 0x1027c09
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
je 0x1027c15
mov eax, dword [rsp + 0x40]
inc ebp
add r12, 0x30
cmp ebp, eax
jae 0x1027c60
jmp 0x1027bee
mov eax, ebp
lea rbp, [rax + rax*2]
add rbp, rbp
mov rcx, qword [rbx + rbp*8 + 0x18]
call fcn.01026938
mov r8, qword [rbx + rbp*8 + 0x20]
mov rdi, rax
cmp r8, r15
je 0x1027c60
mov rdx, qword [rbx + rbp*8 + 8]
lea rcx, [rsp + 0x48]
call fcn.010281b0
mov rcx, qword [rsp + 0x50]
cmp rcx, r15
je 0x1027c56
call fcn.01026938
mov rsi, rax
lea rcx, [rsp + 0x48]
call fcn.01028744
mov rcx, rbx
call fcn.0102890c
mov ebx, 0x5c
cmp rdi, r15
je 0x1027c92
mov edx, ebx
mov rcx, rdi
call fcn.01029770
cmp rax, r15
je 0x1027c87
mov word [rax], r15w
jmp 0x1027c92
mov rcx, rdi
call fcn.0102890c
mov rdi, r15
cmp rsi, r15
je 0x1027e6d
mov edx, ebx
mov rcx, rsi
call fcn.01028e5c
cmp rax, r15
jne 0x1027d19
cmp rdi, r15
je 0x1027d19
mov rcx, rdi
call fcn.01028940
mov rcx, rsi
mov r9, rax
call fcn.01028940
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x1027d19
lea rcx, [rbp + rbp]
call fcn.010268c0
mov rbx, rax
cmp rax, r15
je 0x1027d19
lea r8, [0x01009db8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rsi
call fcn.0100ed0c
cmp eax, r15d
jne 0x1027d0c
mov rcx, rsi
call fcn.0102890c
mov rsi, rbx
mov rbx, r15
cmp rbx, r15
je 0x1027d19
mov rcx, rbx
call fcn.0102890c
cmp rsi, r15
je 0x1027e6d
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x80
call fcn.01034300
xor r11d, r11d
lea rbp, [0x010053c0]
lea r9, [rsp + 0x60]
lea rdx, [0x0100df80]
lea rcx, [0x0100dea0]
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, [0x0100df98]
lea rcx, [rsp + 0x60]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x1027d9a
cmp ebx, r15d
jbe 0x1027d9a
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
jmp 0x1027dd9
lea r9, [rsp + 0x70]
lea rdx, [0x0100dfa0]
lea rcx, [0x01005448]
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 0x1027df7
lea rdx, [0x0100dfb8]
lea rcx, [0x01005470]
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 0x1027e6d
cmp rdi, r15
je 0x1027e5b
mov rcx, rdi
call fcn.01028940
mov ecx, r11d
lea rbp, [rax + rcx + 2]
lea rcx, [rbp + rbp]
call fcn.010268c0
mov rbx, rax
cmp rax, r15
je 0x1027e5b
lea rax, [rsp + 0x70]
lea r8, [0x01009db8]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.0100ed0c
cmp eax, r15d
je 0x1027e52
mov rcx, rbx
call fcn.0102890c
mov rbx, r15
cmp rbx, r15
jne 0x1027ee4
lea rcx, [rsp + 0x70]
call fcn.01026938
mov rbx, rax
cmp rax, r15
jne 0x1027ee4
lea rcx, [0x0100dfd0]
call fcn.01026938
mov rbx, rax
cmp rdi, r15
je 0x1027ee4
mov rcx, rdi
call fcn.01028940
mov rcx, rbx
mov r9, rax
call fcn.01028940
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x1027ee4
lea rcx, [r12 + r12]
call fcn.010268c0
mov rbp, rax
cmp rax, r15
je 0x1027ee4
lea r8, [0x01009db8]
mov r9, rdi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.0100ed0c
cmp eax, r15d
jne 0x1027edc
mov rcx, rbx
call fcn.0102890c
mov rbx, rbp
jmp 0x1027ee4
mov rcx, rbp
call fcn.0102890c
cmp rsi, r15
je 0x1027ef1
mov rcx, rsi
call fcn.0102890c
cmp rdi, r15
je 0x1027efe
mov rcx, rdi
call fcn.0102890c
mov qword [r14 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0x150]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret