Function at 0x429dc0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4725c8
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x4878d4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x244]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x24]
push 0x47e37c
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x254], 1
call fcn.0040a5a0
push 0x208
lea ecx, [esp + 0x40]
push ebx
mov byte [esp + 0x25c], 2
push ecx
mov dword [esp + 0x44], 0x104
call fcn.0045cac0
mov eax, dword [esp + 0x268]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push 0xf003f
push ebx
push eax
push SysReAllocString
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x429f59
mov ebp, dword [esp + 0x18]
push str.ttkbak
lea ecx, [esp + 0x2c]
push ecx
lea edi, [esp + 0x38]
lea esi, [esp + 0x3c]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
call fcn.00421270
test eax, eax
jne 0x429eda
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004040c0
mov byte [esp + 0x24c], 3
mov ebx, eax
mov dword [esp + 0x20], 1
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov eax, dword [eax]
xor ebx, ebx
mov byte [esp + 0x1f], 1
cmp dword [eax - 0xc], ebx
jne 0x429ede
mov byte [esp + 0x1f], bl
mov dword [esp + 0x24c], 2
or edi, 0xffffffff
test byte [esp + 0x20], 1
je 0x429f17
mov eax, dword [esp + 0x18]
and dword [esp + 0x20], 0xfffffffe
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429f17
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x1f], bl
je 0x42a1a9
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.004040c0
mov ebx, eax
mov byte [esp + 0x24c], 4
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov esi, dword [eax]
xor eax, eax
test esi, esi
setne al
test eax, eax
jne 0x429f8c
mov eax, 0xd
jmp 0x429fa6
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a1db
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42a1db
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov byte [esp + 0x24c], 2
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42a004
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x429ffd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jmp 0x42a1d2
lea ecx, [esp + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
push ecx
lea ecx, [esp + 0x25c]
call fcn.0040a5a0
mov ecx, dword [eax]
add esp, 8
mov eax, 0xf003f
mov edx, SysReAllocString
lea esi, [esp + 0x28]
call fcn.00408b90
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a056
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42a093
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a081
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42a1db
push eax
jmp 0x42a1d5
push 0x208
lea ecx, [esp + 0x38]
push 0
push ecx
mov dword [esp + 0x3c], 0x104
call fcn.0045cac0
add esp, 0xc
push str.ttkbakprogid
lea edx, [esp + 0x2c]
push edx
lea edi, [esp + 0x38]
lea esi, [esp + 0x3c]
call fcn.00421270
test eax, eax
jne 0x42a0fd
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.004040c0
mov byte [esp + 0x24c], 5
or dword [esp + 0x20], 2
mov ebx, eax
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
je 0x42a0fd
mov bl, 1
jmp 0x42a0ff
xor bl, bl
mov dword [esp + 0x24c], 2
test byte [esp + 0x20], 2
je 0x42a11a
lea ecx, [esp + 0x18]
call fcn.00404200
test bl, bl
je 0x42a187
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
call fcn.004040c0
mov ebx, eax
mov byte [esp + 0x24c], 6
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov eax, dword [eax]
push str.Progid
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
call fcn.00408610
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
je 0x42a187
lea ecx, [esp + 0x24]
call fcn.00404200
lea esi, [esp + 0x28]
call fcn.00408d70
lea ecx, [esp + 0x254]
call fcn.00404200
jmp 0x42a202
lea ecx, [esp + 0x24]
call fcn.00404200
lea esi, [esp + 0x28]
call fcn.00408d70
lea ecx, [esp + 0x254]
call fcn.00404200
mov al, 1
jmp 0x42a204
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a1d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp ebp, ebx
je 0x42a1db
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24c], edi
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x42a202
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x244]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004599ea
add esp, 0x23c
ret 4