Function at 0x414f10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499270
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 ebx, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [ebp - 0x34], xmm0
mov esi, closesocket
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], vtable.Registry.0
mov dword [ebp - 0x30], closesocket
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x414f73
mov eax, dword [ebx]
jmp 0x414f75
mov eax, ebx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0xf013f
push 1
push 0
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
cmove esi, dword [ebp - 0x3c]
cmp dword [ebx + 0x14], 8
jb 0x414fa4
mov ebx, dword [ebx]
lea eax, [ebp - 0x3c]
push eax
push 0x20006
push 0
push ebx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov edx, 0x4ae8c0
mov eax, str.False
cmove esi, dword [ebp - 0x3c]
cmp byte [edi + 0x10], 0
mov dword [ebp - 0x2c], esi
cmove edx, eax
mov ecx, edx
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414fe0
sub ecx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.AllowMultiSigning
push esi
call ebx
xor ecx, ecx
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push ecx
lea eax, [edi + 0x14]
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.0040a610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push 2
xor eax, eax
mov dword [ebp - 0x40], 7
push 0x4af538
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.0040a9c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
push 1
xor eax, eax
mov dword [ebp - 0x58], 7
push 0x4ae80c
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.0040a9c0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x28]
call fcn.004467f0
mov eax, dword [ebp - 0x58]
add esp, 4
cmp eax, 8
jb 0x4150a6
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.0040aba0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x6c], ax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], 7
mov dword [ebp - 0x5c], 0
cmp eax, 8
jb 0x4150d3
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4150e6
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.CertificateFile
push esi
call ebx
cmp byte [edi + 0x2c], 0
mov eax, str.False
mov edx, 0x4ae8c0
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415124
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.DisplaySignatureInDocument
push esi
call ebx
cmp byte [edi + 0x2d], 0
mov eax, str.False
mov edx, 0x4ae8c0
cmove edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415162
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.Enabled
push esi
call ebx
movss xmm1, dword [edi + 0x30]
lea ecx, [ebp - 0x54]
call fcn.0041dba0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x41519e
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4151a6
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.LeftX
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4151e0
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
movss xmm1, dword [edi + 0x34]
lea ecx, [ebp - 0x54]
call fcn.0041dba0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4151f7
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415200
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.LeftY
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x41523a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
movss xmm1, dword [edi + 0x38]
lea ecx, [ebp - 0x54]
call fcn.0041dba0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x415251
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415260
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.RightX
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x41529a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
movss xmm1, dword [edi + 0x3c]
lea ecx, [ebp - 0x54]
call fcn.0041dba0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x4152b1
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4152c0
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.RightY
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4152fa
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
mov edx, dword [edi + 0x88]
lea ecx, [ebp - 0x54]
call fcn.0040ab80
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x415312
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415320
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignatureCustomPage
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x41535a
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
push dword [edi + 0x8c]
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call fcn.0040c310
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x415375
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415380
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignaturePage
push esi
call ebx
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x4153ba
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.0040aba0
cmp dword [edi + 0xa4], 8
lea edx, [edi + 0x90]
jb 0x4153cb
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4153d3
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignaturePassword
push esi
call ebx
cmp dword [edi + 0x54], 8
lea edx, [edi + 0x40]
jb 0x415403
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415410
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignContact
push esi
call ebx
cmp dword [edi + 0x6c], 8
lea edx, [edi + 0x58]
jb 0x415440
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415450
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignLocation
push esi
call ebx
cmp dword [edi + 0x84], 8
lea edx, [edi + 0x70]
jb 0x415483
mov edx, dword [edx]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415490
sub ecx, dword [ebp - 0x3c]
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edx
push 1
push 0
push str.SignReason
push esi
call ebx
add edi, 0xa8
cmp dword [edi + 0x14], 8
jb 0x4154c3
mov edi, dword [edi]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4154d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 1]
push eax
push edi
push 1
push 0
push str.TimeServerAccountId
push esi
call ebx
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x415509
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040aba0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test esi, esi
je 0x415528
push esi
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 4