Function at 0x402dc0
Capabilities:
Delete file
Delete registry key
Get common file path
Get startup folder
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x41b449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x674
push ebx
push ebp
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6a]
mov word [esp + 0x68], bx
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x6c]
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00409580
lea edx, [esp + 0x68]
push edx
call fcn.0041255c
add esp, 4
lea ecx, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00409380
lea eax, [ebp + 0x4d0]
lea ecx, [esp + 0x48]
push eax
push 0x4225f0
push ecx
mov dword [esp + 0x694], ebx
mov dword [esp + 0x1c], eax
call fcn.0040d070
push str..lnk
lea edx, [esp + 0x68]
push eax
push edx
mov byte [esp + 0x6a0], 1
call fcn.0040cf40
add esp, 0x18
mov ecx, dword [0x41d5a8]
mov byte [esp + 0x688], 2
push ecx
push ebx
push eax
lea ecx, [esp + 0x34]
call fcn.0040a8f0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x68c], 1
call fcn.00409580
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68c], bl
call fcn.00409580
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x402ebb
mov eax, 0x41d59c
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jne 0x402ed4
mov eax, 0x41d59c
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [esp + 0x6c]
push edx
push ebx
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x74]
push ebx
push 0x19
push ebx
rep stosd dword es:[edi], eax
call esi
lea eax, [esp + 0x6c]
push eax
call fcn.0041255c
add esp, 4
lea ecx, [esp + 0x6c]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00409380
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
push edx
push 0x4225f0
push eax
call fcn.0040d070
push str..lnk
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x6a4], 3
call fcn.0040cf40
add esp, 0x18
mov edx, dword [0x41d5a8]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x698], 4
call fcn.0040a8f0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x690], 3
call fcn.00409580
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x690], bl
call fcn.00409580
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x402f92
mov eax, 0x41d59c
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x402fab
mov eax, 0x41d59c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x276]
mov word [esp + 0x274], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x274]
push eax
push ebx
push ebx
push 0x17
push ebx
call esi
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
call fcn.00409580
lea edx, [esp + 0x274]
push edx
call fcn.0041255c
add esp, 4
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x278]
push eax
call fcn.00409380
lea esi, [ebp + 0x510]
lea ecx, [esp + 0x4c]
push esi
push 0x4225f0
push ecx
mov byte [esp + 0x698], 5
call fcn.0040d070
add esp, 0xc
mov edx, dword [0x41d5a8]
lea ecx, [esp + 0x1c]
push edx
push ebx
push eax
mov byte [esp + 0x698], 6
call fcn.0040a8f0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x690], 5
call fcn.00409580
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x40306a
mov eax, 0x41d59c
push eax
call fcn.0040ead0
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 4
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x274]
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x278]
push 2
push eax
push ebx
call ebp
lea ecx, [esp + 0x274]
push ecx
call fcn.0041255c
add esp, 4
lea edx, [esp + 0x274]
lea ecx, [esp + 0x1c]
push eax
push edx
call fcn.00409380
push esi
lea eax, [esp + 0x50]
push 0x4225f0
push eax
call fcn.0040d070
add esp, 0xc
mov ecx, dword [0x41d5a8]
mov byte [esp + 0x68c], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.0040a8f0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x690], 5
call fcn.00409580
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x403106
mov eax, 0x41d59c
push eax
call fcn.0040ead0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x482]
mov word [esp + 0x480], bx
add esp, 4
lea edx, [esp + 0x47c]
rep stosd dword es:[edi], eax
push ebx
push 0x1a
push edx
push ebx
stosw word es:[edi], ax
call ebp
lea eax, [esp + 0x47c]
push str.MicrosoftInternet_ExplorerQuick_Launch
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
call fcn.00409580
lea edx, [esp + 0x47c]
push edx
call fcn.0041255c
add esp, 4
mov esi, eax
lea ecx, [esp + 0x3c]
push 1
push esi
call fcn.00409450
test al, al
je 0x40319e
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x47c]
push esi
push eax
push ecx
call fcn.00401b80
add esp, 0xc
lea ecx, [esp + 0x3c]
push esi
call fcn.00409430
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x5c]
push edx
push 0x4225f0
push eax
mov byte [esp + 0x698], 8
call fcn.0040d070
push str..lnk
lea ecx, [esp + 0x5c]
push eax
push ecx
mov byte [esp + 0x6a4], 9
call fcn.0040cf40
add esp, 0x18
mov edx, dword [0x41d5a8]
lea ecx, [esp + 0x3c]
push edx
push ebx
push eax
mov byte [esp + 0x698], 0xa
call fcn.0040a8f0
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x690], 9
call fcn.00409580
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x690], 8
call fcn.00409580
mov eax, dword [esp + 0x40]
pop esi
cmp eax, ebx
jne 0x403223
mov eax, 0x41d59c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMaxthon2
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40325d
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMaxthon2
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
je 0x40328e
mov al, byte [ecx - 1]
cmp al, bl
je 0x403282
cmp al, 0xff
je 0x403282
dec al
mov byte [ecx - 1], al
jmp 0x40328e
add ecx, 0xfffffffe
push ecx
call fcn.00411f90
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebx
cmp ecx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
je 0x4032c0
mov al, byte [ecx - 1]
cmp al, bl
je 0x4032b4
cmp al, 0xff
je 0x4032b4
dec al
mov byte [ecx - 1], al
jmp 0x4032c0
add ecx, 0xfffffffe
push ecx
call fcn.00411f90
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x4032f2
mov al, byte [ecx - 1]
cmp al, bl
je 0x4032e6
cmp al, 0xff
je 0x4032e6
dec al
mov byte [ecx - 1], al
jmp 0x4032f2
add ecx, 0xfffffffe
push ecx
call fcn.00411f90
add esp, 4
mov ecx, dword [esp + 0x680]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x680
ret