Function at 0x10000be6c
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 [0x100021380]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor r15d, r15d
mov r13, rdx
mov r14, rcx
cmp word [rdx], r15w
jne 0x10000beab
xor eax, eax
jmp 0x10000c235
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 0x10000c19d
mov rcx, rax
call fcn.10000abb8
mov rbp, rax
cmp rax, r15
je 0x10000c19d
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 0x10000bf90
mov eax, dword [rsp + 0x40]
mov ebx, r15d
cmp eax, r15d
jbe 0x10000bf90
lea r12, [rbp + 8]
mov rcx, qword [r12]
cmp rcx, r15
je 0x10000bf61
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
je 0x10000bf6d
mov eax, dword [rsp + 0x40]
inc ebx
add r12, 0x30
cmp ebx, eax
jae 0x10000bf90
jmp 0x10000bf46
mov eax, ebx
lea rbx, [rax + rax*2]
add rbx, rbx
mov rcx, qword [rbp + rbx*8 + 0x18]
call fcn.10000acac
mov rcx, qword [rbp + rbx*8 + 0x20]
mov rdi, rax
call fcn.10000acac
mov rsi, rax
mov rcx, rbp
call fcn.10000ac30
mov ebx, 0x5c
cmp rdi, r15
je 0x10000bfc2
mov edx, ebx
mov rcx, rdi
call fcn.10000c82c
cmp rax, r15
je 0x10000bfb7
mov word [rax], r15w
jmp 0x10000bfc2
mov rcx, rdi
call fcn.10000ac30
mov rdi, r15
cmp rsi, r15
je 0x10000c19d
mov edx, ebx
mov rcx, rsi
call fcn.10000d8b8
cmp rax, r15
jne 0x10000c049
cmp rdi, r15
je 0x10000c049
mov rcx, rdi
call fcn.10000ac64
mov rcx, rsi
mov r9, rax
call fcn.10000ac64
lea rbp, [r9 + rax + 2]
cmp rbp, 2
jbe 0x10000c049
lea rcx, [rbp + rbp]
call fcn.10000abb8
mov rbx, rax
cmp rax, r15
je 0x10000c049
lea r8, [0x1000047e8]
mov r9, rdi
mov rdx, rbp
mov rcx, rax
mov qword [rsp + 0x20], rsi
call fcn.1000055e4
cmp eax, r15d
jne 0x10000c03c
mov rcx, rsi
call fcn.10000ac30
mov rsi, rbx
mov rbx, r15
cmp rbx, r15
je 0x10000c049
mov rcx, rbx
call fcn.10000ac30
cmp rsi, r15
je 0x10000c19d
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x80
call fcn.100014da0
xor r11d, r11d
lea rbp, [0x100003b34]
lea r9, [rsp + 0x48]
lea rdx, [0x1000047f8]
lea rcx, [0x100004810]
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, [0x100004838]
lea rcx, [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, r15d
jne 0x10000c0ca
cmp ebx, r15d
jbe 0x10000c0ca
lea rdx, [0x100004840]
lea rcx, [0x100003c18]
jmp 0x10000c109
lea r9, [rsp + 0x50]
lea rdx, [0x100004858]
lea rcx, [0x100003bb0]
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 0x10000c127
lea rdx, [0x100004858]
lea rcx, [0x100003bb0]
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 0x10000c19d
cmp rdi, r15
je 0x10000c18b
mov rcx, rdi
call fcn.10000ac64
mov ecx, r11d
lea rbp, [rax + rcx + 2]
lea rcx, [rbp + rbp]
call fcn.10000abb8
mov rbx, rax
cmp rax, r15
je 0x10000c18b
lea rax, [rsp + 0x50]
lea r8, [0x1000047e8]
mov r9, rdi
mov rdx, rbp
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1000055e4
cmp eax, r15d
je 0x10000c182
mov rcx, rbx
call fcn.10000ac30
mov rbx, r15
cmp rbx, r15
jne 0x10000c214
lea rcx, [rsp + 0x50]
call fcn.10000acac
mov rbx, rax
cmp rax, r15
jne 0x10000c214
lea rcx, [0x100004870]
call fcn.10000acac
mov rbx, rax
cmp rdi, r15
je 0x10000c214
mov rcx, rdi
call fcn.10000ac64
mov rcx, rbx
mov r9, rax
call fcn.10000ac64
lea r12, [r9 + rax + 2]
cmp r12, 2
jbe 0x10000c214
lea rcx, [r12 + r12]
call fcn.10000abb8
mov rbp, rax
cmp rax, r15
je 0x10000c214
lea r8, [0x1000047e8]
mov r9, rdi
mov rdx, r12
mov rcx, rax
mov qword [rsp + 0x20], rbx
call fcn.1000055e4
cmp eax, r15d
jne 0x10000c20c
mov rcx, rbx
call fcn.10000ac30
mov rbx, rbp
jmp 0x10000c214
mov rcx, rbp
call fcn.10000ac30
cmp rsi, r15
je 0x10000c221
mov rcx, rsi
call fcn.10000ac30
cmp rdi, r15
je 0x10000c22e
mov rcx, rdi
call fcn.10000ac30
mov qword [r14 + 0x10], rbx
mov rax, rbx
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.10000c740
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret