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

Disassembly:
push 0xffffffffffffffff
push 0x50f0b9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53c1a4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x18], ebx
cmp byte [0x548838], bl
jne 0x435691
cmp dword [0x5487cc], esi
je 0x4356be
lea eax, [esp + 0x1c]
push eax
mov ecx, str.Wandoujia
call fcn.00406d70
mov dword [esp + 0x40], esi
mov ebx, 1
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.00435a30
mov byte [esp + 0x17], bl
test eax, eax
jne 0x4356c3
mov byte [esp + 0x17], 0
mov dword [esp + 0x40], 0xffffffff
test bl, 1
je 0x4356f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4356f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
jne 0x435a17
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
push SysReAllocString
mov edx, 0x51e9d8
lea esi, [esp + 0x34]
mov dword [esp + 0x44], 1
call fcn.00437e00
push SysReAllocString
mov edx, str.ShuameApkToolDefaultIcon
call fcn.00437e00
lea ecx, [esp + 0x1c]
mov esi, eax
push 0x548884
push ecx
mov ebx, edi
mov dword [esp + 0x34], esi
call fcn.00435bd0
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, 0x51ea28
mov byte [esp + 0x50], 2
call fcn.00418040
add esp, 0x10
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435781
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 2
push 0x51ea44
lea ecx, [esp + 0x20]
push ecx
call fcn.00418e70
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
jne 0x4357ca
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setne cl
mov esi, eax
test ecx, ecx
je 0x4357ca
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x30]
push edx
push esi
push 1
push 0
push 0x51ea4c
push eax
call ebp
push SysReAllocString
mov edx, str.ShuameApkTool_shell
lea esi, [esp + 0x34]
call fcn.00437e00
push SysReAllocString
mov edx, str.ShuameApkTool_shellopen
call fcn.00437e00
push SysReAllocString
mov edx, str.ShuameApkTool_shellopencommand
call fcn.00437e00
lea ecx, [esp + 0x28]
push 0x51eb10
push ecx
mov ecx, edi
call fcn.0041cf50
lea edx, [esp + 0x2c]
push 0x548884
push edx
mov ebx, eax
mov byte [esp + 0x50], 5
call fcn.00435bd0
push eax
lea eax, [esp + 0x34]
push eax
mov ebx, str.ApkTool.exe
mov byte [esp + 0x58], 6
call fcn.00418040
add esp, 0x18
lea edi, [esp + 0x18]
mov byte [esp + 0x40], 7
call fcn.00405050
mov byte [esp + 0x40], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43586d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 5
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x435892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x40], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4358b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 6
push 0x51eb14
lea ecx, [esp + 0x20]
push ecx
call fcn.00418e70
cmp dword [esp + 0x2c], 0
jne 0x435901
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setne cl
mov esi, eax
test ecx, ecx
je 0x435901
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x30]
push edx
push esi
push 1
push 0
push 0x51eb24
push eax
call ebp
jmp 0x435907
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push SysReAllocString
mov edx, 0x51eb28
lea esi, [esp + 0x34]
call fcn.00437e00
test eax, eax
jne 0x43593f
push 0x51eb34
call edi
mov edx, dword [esp + 0x30]
lea ecx, [eax + eax + 2]
push ecx
push 0x51eb34
push 1
push 0
push 0x51eb50
push edx
call ebp
push SysReAllocString
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.apk
lea esi, [esp + 0x34]
call fcn.00437e00
test eax, eax
jne 0x435977
push 0x51ebdc
call edi
mov ecx, dword [esp + 0x30]
lea eax, [eax + eax + 2]
push eax
push 0x51ebdc
push 1
push 0
push 0x51ebf8
push ecx
call ebp
push SysReAllocString
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.apkOpenWithProgids
lea esi, [esp + 0x34]
call fcn.00437e00
test eax, eax
jne 0x4359af
push 0x51ecac
call edi
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x30]
push edx
push 0x51ecac
push 1
push 0
push 0x51ecb0
push eax
call ebp
push SysReAllocString
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.apkUserChoice
lea esi, [esp + 0x34]
call fcn.00437e00
mov esi, dword [esp + 0x30]
test eax, eax
jne 0x4359e7
push str.ShuameApkTool
call edi
lea ecx, [eax + eax + 2]
push ecx
push str.ShuameApkTool
push 1
push 0
push str.Progid
push esi
call ebp
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x435a0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x435a17
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret