Function at 0x480025
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57a39d
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x67d978]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x67d978]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
lea ecx, [esp + 0x160]
mov esi, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x178], 7
call fcn.00412c1b
mov dword [esp + 0x188], ebx
push ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], 7
call fcn.00412c1b
mov byte [esp + 0x188], 1
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x160]
push eax
push dword [esp + 0x1c]
call fcn.0047fb6e
push dword [esi + 0x30]
lea eax, [esp + 0x160]
mov ecx, esi
push eax
lea esi, [esp + 0x2c]
call fcn.0047fd46
mov byte [esp + 0x188], 2
call fcn.00463055
cmp eax, 6
jl 0x48023f
lea eax, [esp + 0x4c]
push eax
call fcn.004208dd
mov byte [esp + 0x188], 3
push edi
push dword [edi + 4]
lea ecx, [esp + 0x1c]
call fcn.00426b9c
jmp 0x480172
lea ecx, [esp + 0x14]
call fcn.004380a3
lea ecx, [esp + 0x140]
push ecx
mov ecx, eax
call fcn.00481853
pop ecx
mov byte [esp + 0x188], 4
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00410a18
pop ecx
pop ecx
mov byte [esp + 0x188], 3
push ebx
push 1
lea ecx, [esp + 0x148]
call fcn.0041382c
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0043f162
pop ecx
pop ecx
lea esi, [esp + 0x14]
call fcn.0043b7d1
push edi
push dword [edi + 8]
lea ecx, [esp + 0x24]
call fcn.00426b9c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00438d15
test al, al
je 0x480117
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0043f162
pop ecx
pop ecx
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004592ab
mov byte [esp + 0x188], 5
cmp dword [esp + 0x120], 8
mov ecx, dword [esp + 0x10c]
jae 0x4801d0
lea ecx, [esp + 0x10c]
cmp dword [esp + 0x13c], 8
mov eax, dword [esp + 0x128]
jae 0x4801e8
lea eax, [esp + 0x128]
mov edx, dword [esp + 0x11c]
add edx, edx
push edx
push ecx
push 7
push ebx
push eax
push dword [esp + 0x38]
call dword [0x6893f4]
mov edi, eax
mov byte [esp + 0x188], 3
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.0041382c
mov byte [esp + 0x188], 2
lea ecx, [esp + 0xa0]
call fcn.00420973
lea ecx, [esp + 0xa0]
call fcn.00414b24
jmp 0x4803db
push 1
push 3
lea ecx, [esp + 0x54]
call fcn.0044f1b6
mov byte [esp + 0x188], 6
push edi
push dword [edi + 4]
lea ecx, [esp + 0x1c]
call fcn.00426b9c
jmp 0x4802ea
lea ecx, [esp + 0x14]
call fcn.004380a3
lea ecx, [esp + 0x30]
push ecx
mov ecx, eax
call fcn.00481853
pop ecx
mov byte [esp + 0x188], 7
lea ecx, [esp + 0xd8]
push ecx
mov esi, eax
call fcn.00463a93
pop ecx
mov byte [esp + 0x188], 8
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00455a96
pop ecx
pop ecx
mov byte [esp + 0x188], 7
push ebx
push 1
lea ecx, [esp + 0xe0]
call fcn.00411efe
mov byte [esp + 0x188], 6
push ebx
push 1
lea ecx, [esp + 0x38]
call fcn.0041382c
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.00481c88
pop ecx
pop ecx
lea esi, [esp + 0x14]
call fcn.0043b7d1
push edi
push dword [edi + 8]
lea ecx, [esp + 0x24]
call fcn.00426b9c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.00438d15
test al, al
je 0x480266
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 0x50]
call fcn.0044f25f
mov byte [esp + 0x188], 9
lea eax, [esp + 0x140]
push eax
lea esi, [esp + 0x128]
call fcn.00463a93
pop ecx
mov byte [esp + 0x188], 0xa
cmp dword [esp + 0x120], 0x10
mov ecx, dword [esp + 0x10c]
jae 0x48035b
lea ecx, [esp + 0x10c]
cmp dword [esp + 0x158], 0x10
mov eax, dword [esp + 0x144]
jae 0x480373
lea eax, [esp + 0x144]
mov edx, dword [esp + 0x11c]
inc edx
push edx
push ecx
push 7
push ebx
push eax
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
mov byte [esp + 0x188], 9
push ebx
push 1
lea ecx, [esp + 0x148]
call fcn.00411efe
mov byte [esp + 0x188], 6
push ebx
push 1
lea ecx, [esp + 0x110]
call fcn.00411efe
mov byte [esp + 0x188], 2
lea ecx, [esp + 0xa0]
call fcn.0044f223
lea ecx, [esp + 0xa0]
call fcn.0042dbf0
cmp edi, ebx
je 0x480419
push str.CStorageRegistry::SaveVector__:_RegSetValueEx_failed
lea ecx, [esp + 0x34]
call fcn.00414eb2
mov byte [esp + 0x188], 0xb
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00444314
push 0x648b70
lea eax, [esp + 0xdc]
push eax
call fcn.0053cd8e
mov byte [esp + 0x188], 1
lea eax, [esp + 0x24]
call fcn.0047ff7b
mov byte [esp + 0x188], bl
push ebx
push 1
lea ecx, [esp + 0x12c]
call fcn.0041382c
or dword [esp + 0x188], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x164]
call fcn.0041382c
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.00536476
mov esp, ebp
pop ebp
ret 4