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

Disassembly:
push 0xffffffffffffffff
push 0x485348
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov edi, dword [esp + 0x34]
lea ebp, [edi + 0x20]
push ebp
call fcn.00456d48
push ebp
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.0046ac40
lea eax, [edi + 0xf]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp eax, ebx
setne cl
push edi
push eax
lea edx, [esi + 0x1c]
push edx
mov dword [esi], ebp
mov dword [esi + 4], 0xc08004
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edi
call fcn.0046a510
mov edi, dword [esp + 0x30]
add esp, 0x1c
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004266f0
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x34]
push ecx
push 0xf003f
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [edi + 0x164], ebx
je 0x428817
mov dword [esp + 0x1c], 1
call fcn.0045e8af
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4287a2
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push str.sition
push str.tageTran
push str.bleVol
push str.PP_Disa
lea ecx, [esp + 0x40]
push str._s_s_s_s
push ecx
mov byte [esp + 0x40], 1
call fcn.00405230
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add esp, 0x18
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x38], ebx
je 0x4288b8
mov dword [esp + 0x1c], 1
call fcn.0045e8af
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x428843
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push str.ceMode
push str.DPerforman
push str.orce3
push str.PP_F
lea ecx, [esp + 0x40]
push str._s_s_s_s
push ecx
mov byte [esp + 0x40], 2
call fcn.00405230
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
add esp, 0x18
push 4
lea edx, [esp + 0x20]
push edx
push 4
push ebx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4288b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push ebx
push ebx
push esi
add ebp, 0xffffffff
push ebp
mov ecx, edi
call fcn.004253d0
cmp eax, 0xc00000
mov dword [esp + 0x30], eax
je 0x4288e7
push eax
push str.Could_not_upload_new_clocks_to_driver__X.
push 8
call fcn.0041efb0
add esp, 0xc
jmp 0x428910
mov ecx, edi
call fcn.00425b30
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x428908
push ebx
push str.Could_not_upload_new_clocks_to_driver__X
push 8
call fcn.0041efb0
add esp, 0xc
jmp 0x428910
mov dword [esp + 0x30], 0xc00000
cmp dword [edi + 0x164], ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
je 0x4289a3
call fcn.0045e8af
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42893c
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.sition
push str.tageTran
push str.bleVol
push str.PP_Disa
lea ecx, [esp + 0x24]
push str._s_s_s_s
push ecx
mov byte [esp + 0x40], 3
call fcn.00405230
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
add esp, 0x18
push edi
push edx
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4289a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x38], ebx
je 0x428a2e
call fcn.0045e8af
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4289c7
push 0x80004005
call fcn.00401440
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
push str.ceMode
push str.DPerforman
push str.orce3
push str.PP_F
lea ecx, [esp + 0x48]
push str._s_s_s_s
push ecx
mov byte [esp + 0x40], 4
call fcn.00405230
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x18
push edi
push edx
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.00456d4d
mov eax, dword [esp + 0x1c]
xor edx, edx
add esp, 4
cmp dword [esp + 0x30], 0xc00000
mov dword [esp + 0x28], 0xffffffff
sete dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428a79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc