Function at 0x417a50
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46db36
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
push edi
mov eax, dword [0x495574]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], edx
mov ebx, ecx
mov dword [ebp - 0x40], ebx
lea ecx, [ebp - 0x34]
call fcn.00438075
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0
call fcn.0043a63e
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x34]
xor edx, edx
push eax
mov ecx, ebx
call fcn.00414f30
add esp, 8
test al, al
jne 0x417ac5
lea ecx, [ebp - 0x68]
call fcn.0043a655
xor bl, bl
jmp 0x418030
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00411c20
mov edx, eax
mov dword [ebp - 0x1c], edx
mov byte [ebp - 4], 2
xor esi, esi
mov edi, dword [ebp - 0x60]
test edi, edi
jle 0x417b10
mov ebx, dword [ebp - 0x18]
nop dword [eax]
push ebx
lea eax, [ebp - 0x14]
inc esi
push eax
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x14], esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.004122c0
mov edi, dword [ebp - 0x60]
cmp esi, edi
jl 0x417af0
mov edx, dword [ebp - 0x1c]
mov al, 1
xor ebx, ebx
mov byte [ebp - 0xd], al
test edi, edi
jle 0x417be0
nop
test al, al
je 0x417cfc
test ebx, ebx
js 0x4180e6
cmp ebx, edi
jge 0x4180e6
mov eax, dword [ebp - 0x64]
mov ecx, edx
mov esi, dword [eax + ebx*4]
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x417b6d
nop dword [eax]
cmp dword [eax + 0x10], esi
jae 0x417b5a
mov eax, dword [eax + 8]
jmp 0x417b5e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x417b50
cmp ecx, edx
je 0x417b6d
cmp esi, dword [ecx + 0x10]
jae 0x417b6f
mov ecx, edx
cmp ecx, edx
je 0x417bca
mov edx, dword [ecx + 8]
mov eax, ecx
cmp byte [edx + 0xd], 0
je 0x417b99
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x417bab
cmp eax, dword [edx + 8]
jne 0x417bab
mov eax, edx
mov edx, dword [edx + 4]
cmp byte [edx + 0xd], 0
je 0x417b87
jmp 0x417bab
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
jne 0x417bab
mov eax, dword [edx]
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x417ba1
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00411960
push 0x14
push eax
call fcn.0044c2b7
mov edi, dword [ebp - 0x60]
add esp, 8
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp - 0xd]
jmp 0x417bcf
xor al, al
mov byte [ebp - 0xd], al
inc ebx
cmp ebx, edi
jl 0x417b20
test al, al
je 0x417cfc
lea ecx, [ebp - 0x54]
call fcn.00438075
push 0xffffffffffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
push dword [ebp - 0x60]
call fcn.004383c7
mov edx, dword [ebp - 0x60]
xor esi, esi
test edx, edx
jle 0x417ce8
test esi, esi
js 0x4180e6
cmp esi, dword [ebp - 0x2c]
jge 0x4180e6
mov eax, dword [ebp - 0x30]
lea edi, [eax + esi*4]
cmp esi, edx
jge 0x4180e6
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax + esi*4]
sub ecx, 1
js 0x4180e6
cmp ecx, dword [ebp - 0x4c]
jge 0x4180e6
mov eax, dword [ebp - 0x50]
lea ebx, [eax + ecx*4]
mov ecx, dword [edi]
mov edi, dword [ebx]
sub edi, 0x10
mov dword [ebp - 0x38], ebx
lea eax, [ecx - 0x10]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x417cdf
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x417cd0
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x417cd0
push dword [ebp - 0x14]
call fcn.00403cc0
add esp, 4
mov dword [ebp - 0x14], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x417cc3
mov edx, dword [edi]
push edi
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, 0x471758
jne 0x4180fd
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x4180eb
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417cdc
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417cdc
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004041d0
mov edx, dword [ebp - 0x60]
inc esi
cmp esi, edx
jl 0x417c06
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x34]
call fcn.00438207
lea ecx, [ebp - 0x54]
call fcn.0043808c
lea ecx, [ebp - 0x1c]
call fcn.004118d0
push 0x14
push dword [ebp - 0x1c]
call fcn.0044c2b7
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.0043a655
mov eax, dword [ebp - 0x2c]
lea esi, [eax - 1]
test esi, esi
js 0x417d62
test esi, esi
js 0x4180e6
cmp esi, eax
jge 0x4180e6
mov eax, dword [ebp - 0x30]
xor edx, edx
push 0
lea ecx, [eax + esi*4]
call fcn.00417870
add esp, 4
test al, al
jne 0x417d58
push 1
push esi
lea ecx, [ebp - 0x34]
call fcn.0043825c
sub esi, 1
js 0x417d62
mov eax, dword [ebp - 0x2c]
jmp 0x417d27
lea ecx, [ebp - 0x80]
call fcn.00438075
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
push 0xffffffffffffffff
mov ebx, dword [esi + 8]
push ebx
mov dword [ebp - 0x20], ebx
call fcn.004383c7
xor edi, edi
test ebx, ebx
jle 0x417eb5
nop dword [eax]
test edi, edi
js 0x4180e6
cmp edi, dword [esi + 8]
jge 0x4180e6
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x6c]
push dword [eax + edi*4]
call fcn.00417690
add esp, 4
mov byte [ebp - 4], 5
cmp edi, dword [ebp - 0x78]
jge 0x4180e6
mov eax, dword [ebp - 0x7c]
mov esi, dword [eax + edi*4]
lea ecx, [eax + edi*4]
mov eax, dword [ebp - 0x38]
sub esi, 0x10
mov dword [ebp - 0x14], ecx
lea edx, [eax - 0x10]
cmp edx, esi
je 0x417e64
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417e55
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x417e52
push edx
call fcn.00403cc0
add esp, 4
mov dword [ebp - 0x18], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x417e45
mov edx, dword [esi]
push esi
mov ecx, dword [edx]
mov eax, dword [ecx + 4]
cmp ecx, 0x471758
jne 0x418118
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x418106
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417e5e
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417e5e
mov ecx, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
call fcn.004041d0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
lea ecx, [eax - 0x10]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x417ea9
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, 0x471758
jne 0x418121
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x418121
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp + 8]
inc edi
cmp edi, ebx
jl 0x417d90
lea ecx, [ebp - 0xa8]
call fcn.00438075
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 6
call fcn.00438075
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x80]
call fcn.00417570
lea eax, [ebp - 0x94]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x34]
call fcn.00417570
add esp, 8
xor bl, bl
cmp dword [ebp - 0xa0], 0
je 0x417f40
lea ecx, [ebp - 0x54]
call fcn.00438075
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x34]
call fcn.004175e0
add esp, 4
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x34]
push eax
call fcn.00438207
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
mov bl, 1
call fcn.0043808c
cmp dword [ebp - 0x8c], 0
je 0x41804c
lea ecx, [ebp - 0x54]
call fcn.00438075
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 9
push eax
lea edx, [ebp - 0x94]
lea ecx, [ebp - 0x34]
call fcn.00417570
add esp, 4
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x34]
push eax
call fcn.00438207
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
call fcn.0043808c
mov ebx, dword [ebp - 0x20]
xor ecx, ecx
test ebx, ebx
jle 0x417fcf
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test ecx, ecx
js 0x4180e6
cmp ecx, dword [ebp - 0x2c]
jge 0x4180e6
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
lea esi, [ecx + 1]
push 0
mov dword [ebp - 0x18], esi
push dword [eax + ecx*4]
push dword [ebp - 0x40]
call edi
test eax, eax
jne 0x4180df
mov ecx, esi
cmp ecx, ebx
jl 0x417f95
mov edi, dword [ebp - 0x8c]
xor esi, esi
test edi, edi
jle 0x418010
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
js 0x4180e6
cmp esi, dword [ebp - 0x8c]
jge 0x4180e6
mov eax, dword [ebp - 0x90]
push dword [eax + esi*4]
push dword [ebp - 0x40]
call ebx
test eax, eax
jne 0x4180df
inc esi
cmp esi, edi
jl 0x417fe1
mov bl, 1
lea ecx, [ebp - 0x94]
call fcn.0043808c
lea ecx, [ebp - 0xa8]
call fcn.0043808c
lea ecx, [ebp - 0x80]
call fcn.0043808c
lea ecx, [ebp - 0x34]
call fcn.0043808c
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test bl, bl
jne 0x417f86
mov edi, dword [ebp - 0x20]
xor esi, esi
test edi, edi
jle 0x418010
nop dword [eax]
test bl, bl
jne 0x417f86
test esi, esi
js 0x4180e6
cmp esi, dword [ebp - 0x78]
jge 0x4180e6
cmp esi, dword [ebp - 0x2c]
jge 0x4180e6
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x41812a
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + esi*4]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4180b6
test dx, dx
je 0x4180b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4180b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x418090
xor eax, eax
jmp 0x4180bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4180cd
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x34]
call fcn.00438207
mov bl, 1
inc esi
cmp esi, edi
jl 0x418060
test bl, bl
je 0x418010
jmp 0x417f86
xor bl, bl
jmp 0x418012
call fcn.00437e01
call edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417cdc
mov ecx, edx
call eax
jmp 0x417cc3
call edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x417e5e
mov ecx, edx
call eax
jmp 0x417e45
mov ecx, edx
call esi
jmp 0x417ea9
push 0x80004005
call fcn.00404830
int3