Function at 0x48047d
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 eax, dword [ebp + 8]
push 7
pop edi
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [esp + 0x160]
mov dword [esp + 0x18], eax
mov dword [esp + 0x178], edi
call fcn.00412c1b
mov dword [esp + 0x188], ebx
push ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x140], edi
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 0x48068a
lea eax, [esp + 0x4c]
push eax
call fcn.004208dd
mov byte [esp + 0x188], 3
mov edi, dword [ebp + 0xc]
push dword [edi + 4]
lea esi, [esp + 0x18]
call fcn.0046d3df
jmp 0x4805c1
lea esi, [esp + 0x14]
call fcn.0045ce35
push eax
lea esi, [esp + 0x144]
call fcn.004380ec
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
mov ecx, esi
call fcn.0041382c
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0043f162
pop ecx
pop ecx
lea esi, [esp + 0x14]
call fcn.00407848
mov edi, dword [ebp + 0xc]
push dword [edi + 8]
lea esi, [esp + 0x20]
call fcn.0046d3df
mov edi, esi
lea esi, [esp + 0x14]
call fcn.00407152
test al, al
jne 0x48056a
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 0x48061b
lea ecx, [esp + 0x10c]
cmp dword [esp + 0x13c], 8
mov eax, dword [esp + 0x128]
jae 0x480633
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 0x480825
push 1
push 3
lea ecx, [esp + 0x54]
call fcn.0044f1b6
mov byte [esp + 0x188], 6
mov edi, dword [ebp + 0xc]
push dword [edi + 4]
lea esi, [esp + 0x18]
call fcn.0046d3df
jmp 0x480738
lea esi, [esp + 0x14]
call fcn.0045ce35
push eax
lea esi, [esp + 0x34]
call fcn.004380ec
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.00407848
mov edi, dword [ebp + 0xc]
push dword [edi + 8]
lea esi, [esp + 0x20]
call fcn.0046d3df
mov edi, esi
lea esi, [esp + 0x14]
call fcn.00407152
test al, al
jne 0x4806b3
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 0x4807a5
lea ecx, [esp + 0x10c]
cmp dword [esp + 0x158], 0x10
mov eax, dword [esp + 0x144]
jae 0x4807bd
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 0x480863
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 8