Function at 0x40c3b2
Capabilities:
Delete file
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
mov eax, 0x43dccd
call fcn.0041e498
sub esp, 0x80c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.0040cfa4
and dword [ebp - 4], 0
lea edi, [ebx + 0x644]
push 0
push 0x26
push edi
mov dword [ebp - 0x18], 1
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 8
dec edi
pop ecx
mov esi, str.Internet_Exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0xa44]
push eax
push 0x16
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 5
dec edi
pop ecx
mov esi, 0x44f154
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
xor eax, eax
lea esi, [ebx + 0xa44]
push eax
mov ecx, pe_nt_image_headers32
mov edi, esi
push eax
push esi
rep stosd dword es:[edi], eax
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 5
repne scasb al, byte es:[edi]
dec edi
pop ecx
mov esi, str.Internet_Explorer.lnk
push 1
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
xor eax, eax
lea esi, [ebx + 0xa44]
push eax
mov ecx, pe_nt_image_headers32
mov edi, esi
push 0x1a
push esi
rep stosd dword es:[edi], eax
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
push 0x10
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchInternet_Explorer.lnk
pop ecx
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
call fcn.0040cba0
mov edi, str.SoftwareMaxthon2
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x818]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xf003f
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x818]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.SkinFeature.dll_Ordinal_1
lea ecx, [ebp - 0x10]
call fcn.0040cfc6
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x400
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x44f1d8
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40c65a
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f1e0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x644]
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0xa44]
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f1f0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x16
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f204
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x17
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f218
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
push 0x19
lea edi, [ebx + 0xa44]
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f22c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x1a
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 0xe
dec edi
pop ecx
mov esi, 0x44f240
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.0040cba0
lea ecx, [ebp - 0x10]
call fcn.0040cfaf
mov edi, str.SoftwareMaxthon
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x818]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xf003f
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x818]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.SkinFeature.dll_Ordinal_1
lea ecx, [ebp - 0x10]
call fcn.0040cfc6
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x400
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.Folder
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40c80f
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov esi, str.Maxthon.exe
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x644]
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0xa44]
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f2a8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x16
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f2b8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x17
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f2c8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x19
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f2d8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x1a
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 0xe
dec edi
pop ecx
mov esi, 0x44f2e8
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.0040cba0
lea ecx, [ebp - 0x10]
call fcn.0040cfaf
mov edi, str.SOFTWAREMozillaMozilla_Firefox_3.0.8_bin
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x818]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xf003f
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x818]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.SkinFeature.dll_Ordinal_2
lea ecx, [ebp - 0x10]
call fcn.0040cfc6
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x400
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.PathToExe
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40c9b7
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x644]
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0xa44]
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 5
dec edi
pop ecx
mov esi, 0x44f35c
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x16
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 5
dec edi
pop ecx
mov esi, 0x44f374
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x17
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 5
dec edi
pop ecx
mov esi, 0x44f38c
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x19
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 5
dec edi
pop ecx
mov esi, str.Mozilla_Firefox.lnk
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x1a
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 0xf
dec edi
pop ecx
mov esi, str.MicrosoftInternet_ExplorerQuick_LaunchMozilla_Firefox.lnk
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsw word es:[edi], word [esi]
call fcn.0040cba0
lea ecx, [ebp - 0x10]
call fcn.0040cfaf
mov edi, str.SOFTWARETENCENTTTraveler
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x818]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xf003f
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x818]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.SkinFeature.dll_Ordinal_2
lea ecx, [ebp - 0x10]
call fcn.0040cfc6
push 0x41
xor eax, eax
pop ecx
lea edi, [ebp - 0x418]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x400
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x44f418
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40cb7d
lea edi, [ebp - 0x418]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
lea edi, [ebx + 0x644]
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0xa44]
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f41c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x16
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f428
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x17
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f434
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0x19
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f440
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsd dword es:[edi], dword [esi]
call fcn.0040cba0
push 0
lea edi, [ebx + 0xa44]
push 0
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov esi, 0x44f44c
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebx + 0xa44]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x1a
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
push 0xd
dec edi
pop ecx
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch_
rep movsd dword es:[edi], dword [esi]
push 1
mov ecx, ebx
movsb byte es:[edi], byte [esi]
call fcn.0040cba0
lea ecx, [ebp - 0x10]
call fcn.0040cfaf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040cfaa
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret