Function at 0x41a220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499917
mov eax, dword fs:[0]
push eax
sub esp, 0x6f0
mov eax, dword [0x4cb070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x69c], eax
cmp eax, dword [edi + 0xc]
jb 0x41a265
xor al, al
jmp 0x41a51b
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov ebx, closesocket
mov dword [ebp - 0x1c], vtable.Registry.0
mov dword [ebp - 0x18], closesocket
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6b4]
push 0x1f
xor eax, eax
mov dword [ebp - 0x6a0], 7
push str.softwareZZDS_PDFPRINTSettings
mov dword [ebp - 0x6a4], 0
mov word [ebp - 0x6b4], ax
call fcn.0040a9c0
push str.ConversionProfiles
lea edx, [ebp - 0x6b4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00403000
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6a0]
cmp eax, 8
jb 0x41a2fc
inc eax
lea ecx, [ebp - 0x6b4]
push eax
push dword [ebp - 0x6b4]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x6a0], 7
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x698]
push ecx
mov word [ebp - 0x6b4], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0x20006
push 0
push eax
push closesocket
mov dword [ebp - 0x6a4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [edi + 0xc]
lea ecx, [ebp - 0x6cc]
test eax, eax
cmove ebx, dword [ebp - 0x698]
mov dword [ebp - 0x14], ebx
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x41a362
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a367
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.numClasses
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x6b8]
cmp eax, 8
jb 0x41a3ad
inc eax
lea ecx, [ebp - 0x6cc]
push eax
push dword [ebp - 0x6cc]
call fcn.0040aba0
mov edi, dword [edi + 8]
xor ebx, ebx
mov esi, dword [edi]
cmp esi, edi
je 0x41a4e2
nop dword [eax]
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x694]
call fcn.00417fa0
mov eax, dword [ebp - 0x69c]
mov byte [ebp - 4], 4
cmp ebx, eax
je 0x41a3f8
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 3
inc ebx
call fcn.00418690
mov esi, dword [esi]
cmp esi, edi
jne 0x41a3c0
jmp 0x41a4e2
mov edx, eax
lea ecx, [ebp - 0x6fc]
call fcn.0040ab80
mov esi, eax
push 0x4ae80c
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6cc]
call fcn.00403070
push esi
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6e4]
call fcn.00403180
add esp, 8
push eax
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 7
call fcn.0040b8c0
mov eax, dword [ebp - 0x6d0]
cmp eax, 8
jb 0x41a461
inc eax
lea ecx, [ebp - 0x6e4]
push eax
push dword [ebp - 0x6e4]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x6d0], 7
mov word [ebp - 0x6e4], ax
mov eax, dword [ebp - 0x6b8]
mov dword [ebp - 0x6d4], 0
cmp eax, 8
jb 0x41a49c
inc eax
lea ecx, [ebp - 0x6cc]
push eax
push dword [ebp - 0x6cc]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x6b8], 7
mov word [ebp - 0x6cc], ax
mov eax, dword [ebp - 0x6e8]
mov dword [ebp - 0x6bc], 0
cmp eax, 8
jb 0x41a4d7
inc eax
lea ecx, [ebp - 0x6fc]
push eax
push dword [ebp - 0x6fc]
call fcn.0040aba0
lea ecx, [ebp - 0x694]
call fcn.00418690
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x41a4f7
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], 0
test eax, eax
je 0x41a519
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00459a5d
mov esp, ebp
pop ebp
ret 4