Function at 0x42f210
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47c868
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f255
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42f287
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 1
call fcn.00401180
lea esi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x38], esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 2
call fcn.00401b60
lea eax, [esi - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f2e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00401180
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 3
call fcn.00401b60
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f336
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
lea ecx, [esp + 0x18]
push ecx
push ebp
push SysReAllocStringLen
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push SysReAllocStringLen
call ebp
mov eax, dword [esi]
sub eax, 0x10
push eax
call fcn.00401180
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.00401b60
lea eax, [ebx - 0x10]
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4897c0
lea ecx, [esp + 0x3c]
call fcn.00402cf0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 5
call fcn.00401b60
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f3f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push SysReAllocStringLen
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push 1
push ebx
push SysReAllocStringLen
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
sub eax, 0x10
push eax
call fcn.00401180
lea ebx, [eax + 0x10]
mov dword [esp + 0x3c], ebx
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x38], 6
call fcn.0040b0d0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x44], 7
call fcn.00401c40
add esp, 0x14
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 8
call fcn.00401b60
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f486
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x30], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f4ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f4cc
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push str.DefaultIcon
push ecx
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
mov edx, dword [esp + 0x18]
push ecx
push eax
push 1
push str.DefaultIcon
push edx
call ebp
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
call fcn.0042b0e0
push str.__1
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x3c], 9
call fcn.00401d00
mov edx, dword [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x4c]
mov bl, 0xa
push eax
mov byte [esp + 0x48], bl
call fcn.00401c40
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 0xb
call fcn.00401b60
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f563
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f588
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f5ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push str.ShellOpenCommand
push edx
call edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
push eax
mov eax, dword [esp + 0x1c]
push edi
push 1
push str.ShellOpenCommand
push eax
call ebp
mov dword [esp + 0x44], 0
mov eax, dword [esi]
push str.InfoTip
push 0x489798
push eax
push SysReAllocStringLen
mov byte [esp + 0x40], 0xc
call fcn.0042a520
mov eax, dword [esi]
push str.NeverShowExt
push 0x481930
push eax
push SysReAllocStringLen
call fcn.0042a520
mov eax, dword [esi]
push str.QuickTip
push 0x489798
push eax
push SysReAllocStringLen
call fcn.0042a520
mov esi, dword [esi]
push str.TileInfo
push 0x489798
push esi
push SysReAllocStringLen
call fcn.0042a520
lea eax, [edi - 0x10]
mov byte [esp + 0x30], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42f687
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10