Function at 0x100020a64
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xe0
mov rax, qword [0x100033380]
xor rax, rsp
mov qword [rsp + 0xd0], rax
cmp word [rdx], 0
mov r13, rdx
mov r14, rcx
jne 0x100020aa2
xor eax, eax
jmp 0x100020d84
xor esi, esi
lea rax, [rsp + 0x40]
xor r9d, r9d
and dword [rsp + 0x44], esi
and dword [rsp + 0x40], esi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
lea r8d, [rsi + 2]
xor edx, edx
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], esi
xor ecx, ecx
xor edi, edi
call sub.WINSPOOL.DRV_EnumPrinterDriversW
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x100020ced
mov rcx, rax
call fcn.10001f8ac
test rax, rax
mov rbp, rax
je 0x100020ced
lea rax, [rsp + 0x40]
lea r8d, [rsi + 2]
mov r9, rbp
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x44]
xor edx, edx
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 0x100020b7d
mov eax, dword [rsp + 0x40]
xor ebx, ebx
test eax, eax
je 0x100020b7d
lea r12, [rbp + 8]
mov rcx, qword [r12]
test rcx, rcx
je 0x100020b4f
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x100020b5c
mov eax, dword [rsp + 0x40]
add ebx, 1
add r12, 0x30
cmp ebx, eax
jae 0x100020b7d
jmp 0x100020b35
lea rbx, [rbx + rbx*2]
add rbx, rbx
mov rcx, qword [rbp + rbx*8 + 0x18]
call fcn.10001f99c
mov rcx, qword [rbp + rbx*8 + 0x20]
mov rdi, rax
call fcn.10001f99c
mov rsi, rax
mov rcx, rbp
call fcn.10001f924
test rdi, rdi
je 0x100020bab
mov dx, 0x5c
mov rcx, rdi
call fcn.10002132c
test rax, rax
je 0x100020ba1
and word [rax], 0
jmp 0x100020bab
mov rcx, rdi
call fcn.10001f924
xor edi, edi
test rsi, rsi
je 0x100020ced
mov dx, 0x5c
mov rcx, rsi
call fcn.100021fd8
test rax, rax
jne 0x100020c32
test rdi, rdi
je 0x100020c32
mov rcx, rdi
call fcn.10001f958
mov rcx, rsi
mov r8, rax
call fcn.10001f958
lea rbp, [r8 + rax + 2]
cmp rbp, 2
jbe 0x100020c32
lea rcx, [rbp + rbp]
call fcn.10001f8ac
test rax, rax
mov rbx, rax
je 0x100020c32
lea r8, [0x100019f08]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rsi
call fcn.10001ac04
test eax, eax
jne 0x100020c25
mov rcx, rsi
call fcn.10001f924
mov rsi, rbx
xor ebx, ebx
test rbx, rbx
je 0x100020c32
mov rcx, rbx
call fcn.10001f924
test rsi, rsi
je 0x100020ced
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x80
call fcn.100028c50
lea r9, [rsp + 0x50]
lea r8, [0x100019624]
lea rdx, [0x100019f18]
lea rcx, [0x1000196a0]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
mov r11d, eax
je 0x100020ced
test rdi, rdi
je 0x100020cdb
mov rcx, rdi
call fcn.10001f958
lea rbp, [rax + r11 + 2]
lea rcx, [rbp + rbp]
call fcn.10001f8ac
test rax, rax
mov rbx, rax
je 0x100020cdb
lea rax, [rsp + 0x50]
lea r8, [0x100019f08]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.10001ac04
test eax, eax
je 0x100020cd2
mov rcx, rbx
call fcn.10001f924
xor ebx, ebx
test rbx, rbx
jne 0x100020d63
lea rcx, [rsp + 0x50]
call fcn.10001f99c
test rax, rax
mov rbx, rax
jne 0x100020d63
lea rcx, [0x100019f30]
call fcn.10001f99c
test rdi, rdi
mov rbx, rax
je 0x100020d63
mov rcx, rdi
call fcn.10001f958
mov rcx, rbx
mov r9, rax
call fcn.10001f958
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x100020d63
lea rcx, [r12 + r12]
call fcn.10001f8ac
test rax, rax
mov rbp, rax
je 0x100020d63
lea r8, [0x100019f08]
mov r9, rdi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.10001ac04
test eax, eax
jne 0x100020d5b
mov rcx, rbx
call fcn.10001f924
mov rbx, rbp
jmp 0x100020d63
mov rcx, rbp
call fcn.10001f924
test rsi, rsi
je 0x100020d70
mov rcx, rsi
call fcn.10001f924
test rdi, rdi
je 0x100020d7d
mov rcx, rdi
call fcn.10001f924
mov qword [r14 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.100021240
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret