Function at 0x41aa30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4999fc
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
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
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 - 0xbc]
push 0x1f
xor eax, eax
mov dword [ebp - 0xa8], 7
push str.softwareZZDS_PDFPRINTSettings
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
call fcn.0040a9c0
push str.ApplicationSettingsAccountsTimeServerAccounts
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00403000
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xa8]
cmp eax, 8
jb 0x41aaf7
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0xa8], 7
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0xa4]
push ecx
mov word [ebp - 0xbc], ax
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0x20006
push 0
push eax
push closesocket
mov dword [ebp - 0xac], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0xd4]
test eax, eax
cmove ebx, dword [ebp - 0xa4]
mov dword [ebp - 0x14], ebx
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x41ab5d
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ab62
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 - 0xc0]
cmp eax, 8
jb 0x41aba8
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.0040aba0
mov edi, dword [edi]
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
mov esi, dword [edi]
cmp esi, edi
je 0x41acd4
nop dword [eax]
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0041ad30
mov edx, ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.0040ab80
mov ebx, eax
push 0x4ae80c
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xd4]
call fcn.00403070
push ebx
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xec]
call fcn.00403180
add esp, 8
lea ecx, [ebp - 0xa0]
push eax
call fcn.00411480
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x41ac38
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xdc], 0
cmp eax, 8
jb 0x41ac73
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc4], 0
cmp eax, 8
jb 0x41acae
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.0040aba0
mov ebx, dword [ebp - 0xa4]
lea ecx, [ebp - 0xa0]
inc ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0xa4], ebx
call fcn.0041a950
mov esi, dword [esi]
cmp esi, edi
jne 0x41abc0
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x41ace9
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 0x41ad0b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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