Function at 0x42a230
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47251e
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 + 0x28], ebx
mov dword [esp + 0x24c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x1c]
push 0x47e37c
push eax
lea ecx, [esp + 0x25c]
mov byte [esp + 0x254], 3
call fcn.0040a5a0
push 0x208
lea ecx, [esp + 0x40]
push ebx
mov byte [esp + 0x25c], 4
push ecx
mov dword [esp + 0x40], 0x104
call fcn.0045cac0
mov ecx, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push ecx
push SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x42a410
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
push ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
push edx
mov ebx, str.DefaultIcon
call fcn.0040a4c0
mov eax, dword [eax]
add esp, 8
push SysReAllocString
mov edx, eax
lea esi, [esp + 0x24]
call fcn.00408500
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a34c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42a4bb
mov byte [esp + 0x24c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a37b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42a38a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a3b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a3de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], ebp
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42aa70
mov byte [esp + 0x24c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a43a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], bl
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], ebp
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42aa70
mov eax, dword [esp + 0x25c]
mov edi, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
setne cl
mov esi, eax
test ecx, ecx
je 0x42a4f5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42a5ad
mov byte [esp + 0x24c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42a51c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x42a527
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a57b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], ebp
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42aa70
mov edx, dword [esp + 0x254]
push SysReAllocString
lea esi, [esp + 0x24]
call fcn.00408500
test eax, eax
je 0x42a686
mov byte [esp + 0x24c], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a5f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42a600
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x24c], 1
mov eax, dword [esp + 0x254]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a62a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24c], 0
mov eax, dword [esp + 0x258]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42a654
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24c], ebp
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x42a4b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x42aa70
push 0
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
call fcn.00421270
test eax, eax
jne 0x42a6d4
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004040c0
mov byte [esp + 0x24c], 5
mov ebx, eax
mov dword [esp + 0x28], 1
call fcn.0041ece0
mov ebx, eax
call fcn.0041ed60
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x42a6d4
mov bl, 1
jmp 0x42a6d6
xor bl, bl
mov dword [esp + 0x24c], 4
test byte [esp + 0x28], 1
je 0x42a6f6
and dword [esp + 0x28], 0xfffffffe
lea ecx, [esp + 0x18]
call fcn.00404200
test bl, bl
je 0x42a789
lea ecx, [esp + 0x18]
push ecx
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]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0041ddf0
test eax, eax
lea ecx, [esp + 0x18]
setne bl
mov byte [esp + 0x24c], 4
call fcn.00404200
test bl, bl
je 0x42a789
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.004040c0
mov byte [esp + 0x24c], 7
call fcn.0041de20
mov eax, dword [eax]
push str.ttkbak
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
call fcn.00408610
lea ecx, [esp + 0x18]
mov byte [esp + 0x24c], 4
call fcn.00404200
mov esi, dword [esp + 0x1c]
push 0
lea edx, [esp + 0x24]
push edx
call fcn.00408610
test eax, eax
je 0x42a7da
lea ecx, [esp + 0x1c]
call fcn.00404200
lea esi, [esp + 0x20]
call fcn.00408d70
lea ecx, [esp + 0x254]
call fcn.00404200
lea ecx, [esp + 0x258]
call fcn.00404200
lea ecx, [esp + 0x25c]
call fcn.00404200
xor al, al
jmp 0x42aa70
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str._shell
call fcn.0040a4c0
mov eax, dword [eax]
add esp, 8
push SysReAllocString
mov edx, eax
lea esi, [esp + 0x24]
call fcn.00408500
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
jne 0x42a79d
mov edx, esi
push 0
push edx
mov esi, str.open
call fcn.00408610
test eax, eax
jne 0x42a79d
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str._shellopen
call fcn.0040a4c0
mov eax, dword [eax]
add esp, 8
push SysReAllocString
mov edx, eax
lea esi, [esp + 0x24]
call fcn.00408500
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
jne 0x42a79d
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str._shellopencommand
call fcn.0040a4c0
mov eax, dword [eax]
add esp, 8
push SysReAllocString
mov edx, eax
call fcn.00408500
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
jne 0x42a79d
lea ecx, [esp + 0x258]
push ecx
lea edx, [esp + 0x1c]
push edx
mov ebx, str.___1_
call fcn.0040a4c0
mov eax, dword [eax]
add esp, 8
mov ecx, esi
push 0
push ecx
mov esi, eax
call fcn.00408610
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
jne 0x42a79d
lea edx, [esp + 0x18]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_
push edx
lea ecx, [esp + 0x25c]
call fcn.0040a5a0
mov eax, dword [eax]
add esp, 8
push SysReAllocString
mov edx, eax
lea esi, [esp + 0x24]
call fcn.00408500
test eax, eax
lea ecx, [esp + 0x18]
setne bl
call fcn.00404200
test bl, bl
jne 0x42a79d
push 0x208
lea eax, [esp + 0x38]
push 0
push eax
mov dword [esp + 0x38], 0x104
call fcn.0045cac0
add esp, 0xc
mov ecx, esi
push str.Progid
push ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x3c]
call fcn.00421270
test eax, eax
jne 0x42a984
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004040c0
mov byte [esp + 0x24c], 8
or dword [esp + 0x28], 2
call fcn.0041de20
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x42a984
mov bl, 1
jmp 0x42a986
xor bl, bl
mov dword [esp + 0x24c], 4
test byte [esp + 0x28], 2
je 0x42a9a1
lea ecx, [esp + 0x18]
call fcn.00404200
test bl, bl
je 0x42aa1d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
call fcn.004040c0
mov byte [esp + 0x24c], 9
call fcn.0041de20
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0041ddf0
test eax, eax
lea ecx, [esp + 0x18]
setne bl
mov byte [esp + 0x24c], 4
call fcn.00404200
test bl, bl
je 0x42aa1d
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
call fcn.004040c0
mov byte [esp + 0x24c], 0xa
call fcn.0041de20
mov esi, dword [eax]
push str.ttkbakprogid
lea ecx, [esp + 0x24]
push ecx
call fcn.00408610
lea ecx, [esp + 0x18]
call fcn.00404200
mov esi, dword [esp + 0x1c]
push str.Progid
lea edx, [esp + 0x24]
push edx
call fcn.00408610
lea ecx, [esp + 0x1c]
test eax, eax
jne 0x42a7a1
call fcn.00404200
lea esi, [esp + 0x20]
call fcn.00408d70
lea ecx, [esp + 0x254]
call fcn.00404200
lea ecx, [esp + 0x258]
call fcn.00404200
lea ecx, [esp + 0x25c]
call fcn.00404200
mov al, 1
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 0xc