Function at 0x417448
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x417450
push ecx
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x41772b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x4174c4
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
mov edx, dword [esi]
mov eax, 0x417744
call fcn.00403100
mov ebx, eax
test ebx, ebx
je 0x417710
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [esi]
mov edx, 1
call fcn.00403078
push esi
lea edx, [ebx + 1]
mov eax, dword [esi]
mov ecx, 0x7fffffff
call fcn.00403078
jmp 0x4174dd
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
lea eax, [ebp - 4]
call fcn.00402bd0
lea edx, [ebp - 0x10]
mov eax, dword [esi]
call fcn.00417064
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.00402c68
cmp dword [esi], 0
je 0x417710
mov eax, dword [esi]
cmp byte [eax], 0x3d
jne 0x417710
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.00417064
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00402c68
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x417558
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
mov edx, edi
mov eax, dword [esi]
call fcn.0041726c
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00416e20
jmp 0x417710
mov ebx, 1
jmp 0x417560
inc ebx
mov eax, dword [esi]
call fcn.00402e24
cmp ebx, eax
jg 0x41757d
mov eax, dword [esi]
mov al, byte [eax + ebx - 1]
sub al, 0x20
je 0x41757d
sub al, 8
je 0x41757d
sub al, 0x12
jne 0x41755f
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov eax, dword [esi]
mov edx, 1
call fcn.00403078
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi]
mov ecx, 0x7fffffff
mov edx, ebx
call fcn.00403078
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00417064
mov edx, dword [ebp - 0x1c]
mov eax, esi
call fcn.00402c68
mov edx, 0x417750
mov eax, dword [ebp - 8]
call fcn.00417098
test eax, eax
jne 0x4176b5
mov edi, 3
mov eax, dword [esi]
cmp byte [eax], 0x28
jne 0x41765c
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
lea eax, [ebp - 8]
call fcn.00402bd0
mov ebx, 1
jmp 0x417616
lea eax, [ebp - 0x24]
mov edx, dword [esi]
mov dl, byte [edx + ebx - 1]
call fcn.00402dac
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.00402e2c
inc ebx
mov eax, dword [esi]
call fcn.00402e24
cmp ebx, eax
jg 0x41762a
mov eax, dword [esi]
cmp byte [eax + ebx - 1], 0x29
jne 0x4175fc
mov eax, dword [ebp - 8]
call fcn.0041700c
mov edi, eax
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebx + 1]
mov eax, dword [esi]
mov ecx, 0x7fffffff
call fcn.00403078
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004170ec
mov edx, dword [ebp - 0x28]
mov eax, esi
call fcn.00402c68
mov eax, dword [esi]
cmp byte [eax], 0x3a
jne 0x417710
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.00417368
mov eax, dword [ebp - 0xc]
call fcn.00402e24
push eax
mov eax, dword [ebp - 0xc]
call fcn.0040301c
push eax
push edi
push 0
mov eax, dword [ebp - 4]
call fcn.0040301c
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
jne 0x417710
jmp 0x417710
mov edx, 0x41775c
mov eax, dword [ebp - 8]
call fcn.00417098
test eax, eax
jne 0x417710
mov eax, dword [esi]
cmp byte [eax], 0x3a
jne 0x417710
mov eax, esi
mov ecx, 1
mov edx, 1
call fcn.004030b8
lea edx, [ebp - 0x34]
mov eax, dword [esi]
call fcn.00417064
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 0x41776c
call fcn.00402e70
mov eax, dword [ebp - 0x30]
call fcn.0041700c
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp - 4]
call fcn.00416e4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417732
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00402bf4
ret