Function at 0x140022750
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], 0
lea rdx, str.CSilentPropertyParametersFromSilentIni::GetPrinterCheckBoxValue
lea rcx, [rsp + 0x50]
call fcn.14001abe0
nop
lea rbp, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rbp
je 0x1400227de
test byte [rcx + 0x1c], 1
je 0x1400227de
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, send
lea r8, [0x140253020]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022a37
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x40], 1
mov r9, qword [rbx + 8]
xor r8d, r8d
lea rdx, str.Printer
lea rcx, str.SelectMenu
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1400228ad
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022a37
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, [0x140252f04]
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x14002287b
movzx edx, dx
lea rcx, [rsp + 0x30]
call fcn.1400041d0
jmp 0x140022898
mov rax, rbx
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x140022880
mov r8d, eax
lea rcx, [rsp + 0x30]
call fcn.140004e60
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140004620
nop
mov rdx, qword [rsp + 0x30]
jmp 0x14002292b
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x140022a37
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rdx, [0x140252f48]
mov rbx, 0xffffffffffffffff
cmp rdx, 0x10000
jae 0x1400228fa
movzx edx, dx
lea rcx, [rsp + 0x38]
call fcn.1400041d0
jmp 0x140022918
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140022900
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.140004e60
nop
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.140004620
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002294c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
mov al, 1
mov byte [rsp + 0x58], al
mov r10, qword [0x1402a8360]
cmp r10, rbp
je 0x1400229a0
test byte [r10 + 0x1c], al
je 0x1400229a0
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, reloc.WSOCK32.dll_send
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r8, [0x140253020]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
movzx eax, byte [rsp + 0x58]
mov r10, qword [0x1402a8360]
lea rcx, vtable.WppTrace.0
mov qword [rsp + 0x50], rcx
test al, al
jne 0x1400229fa
cmp r10, rbp
je 0x1400229fa
test byte [r10 + 0x1c], 1
je 0x1400229fa
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [r10 + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x80]
call fcn.1400048a0
lea rcx, [rsp + 0x60]
call fcn.1400048a0
mov rax, rdi
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401e2900
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001470
int3