Function at 0x100005964
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x2c0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rax, qword [0x100021380]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r12, r8
mov rbp, rdx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
mov r13d, 0x104
mov r8, r13
xor edx, edx
lea rcx, [r11 - 0x258]
call fcn.100014da0
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x50]
call fcn.100008958
mov qword [rsp + 0x48], rdi
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x38]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.100008604
cmp eax, edi
je 0x100005bf0
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x34]
lea ebx, [rdi + 2]
mov r8d, ebx
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.WINSPOOL.DRV_GetPrinterDriverA
mov ecx, dword [rsp + 0x30]
call fcn.10000ca78
mov rsi, rax
cmp rax, rdi
jne 0x100005a58
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1000088b0
nop
lea rax, [0x100004728]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.100008fcc
xor eax, eax
jmp 0x100005c08
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8d, ebx
xor edx, edx
mov rcx, qword [rsp + 0x38]
call sub.WINSPOOL.DRV_GetPrinterDriverA
mov ebx, eax
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.1000088b0
cmp ebx, edi
je 0x100005bf0
mov r8, qword [rsi + 0x20]
mov rdx, r13
lea rcx, [rsp + 0x90]
mov r9d, edi
lea rax, [rsp + 0x90]
sub r8, rax
lea rax, [rdx + 0x7ffffefa]
cmp rax, rdi
je 0x100005ad2
mov al, byte [r8 + rcx]
cmp al, dil
je 0x100005ad2
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x100005ab2
cmp rdx, rdi
jne 0x100005ae0
dec rcx
mov r9d, 0x8007007a
mov byte [rcx], dil
cmp r9d, edi
je 0x100005b0e
mov rcx, rsi
call fcn.10000ca6c
nop
lea rax, [0x100004728]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.100008fcc
xor eax, eax
jmp 0x100005c08
mov edx, 0x5c
lea rcx, [rsp + 0x90]
call fcn.10000ca40
cmp rax, rdi
jne 0x100005b72
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x20], rax
mov r9, rbp
lea r8, [0x100003b38]
mov rdx, r13
lea rcx, [rsp + 0x90]
call fcn.100005578
cmp eax, edi
je 0x100005b72
mov rcx, rsi
call fcn.10000ca6c
nop
lea rax, [0x100004728]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.100008fcc
xor eax, eax
jmp 0x100005c08
mov rcx, rsi
call fcn.10000ca6c
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.100014da0
lea r11, [rsp + 0x90]
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], r13d
lea r9, [rsp + 0x1a0]
lea r8, [0x100003b30]
lea rdx, [0x100003b40]
lea rcx, [0x100003b50]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea r11, [rsp + 0x1a0]
mov qword [rsp + 0x20], r11
mov r9, rbp
lea r8, [0x100003b38]
mov rdx, r13
mov rcx, r12
call fcn.100005578
cmp eax, edi
je 0x100005be9
jmp 0x100005bf0
mov edi, 1
jmp 0x100005bf0
lea rax, [0x100004728]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x58]
call fcn.100008fcc
mov eax, edi
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.10000c740
mov rbx, qword [rsp + 0x308]
add rsp, 0x2c0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret