Function at 0x403e60
Capabilities:
Delete file
Delete registry key
Delete registry value
Move file
Set registry value

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00403b90
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403bf0
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
add esp, 8
push str.noaction
push edi
call ebx
test eax, eax
je 0x403fa4
push str.none
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call ebx
test eax, eax
lea ecx, [esp + 0x10]
push 0x2001f
je 0x403f6b
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call fcn.004035f0
test eax, eax
jne 0x403f2a
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x2001f
push ebp
push ebp
push ebp
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x2c]
push str.View_Source_EditorEditor_Name
push ebp
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x403f0c
mov esi, dword [esp + 0x18]
test esi, esi
je 0x403f0c
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
test ebp, ebp
je 0x403f1f
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
test esi, esi
je 0x403f2a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x2001f
push str.SOFTWAREMicrosoftInternet_ExplorerView_Source_EditorEditor_Name
push 0x80000002
lea ecx, [esp + 0x1c]
call fcn.004035f0
test eax, eax
jne 0x403f95
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [esp + 0x10]
inc eax
lea ecx, [eax + eax]
push ecx
push edi
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x403fa4
push esi
jmp 0x403f9e
push str.SOFTWAREMicrosoftInternet_ExplorerView_Source_Editor
push 0x80000002
call fcn.004035f0
test eax, eax
jne 0x403f95
mov esi, dword [esp + 0x10]
push str.Editor_Name
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp esi, ebp
je 0x403fa4
push esi
jmp 0x403f9e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403fa4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x28]
push str.noaction
push edi
call ebx
test eax, eax
je 0x404096
push str.none
push edi
call ebx
mov esi, eax
mov eax, dword [0x408070]
push 0
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x1c]
neg esi
push eax
lea ecx, [esp + 0x24]
sbb esi, esi
push ecx
neg esi
mov dword [esp + 0x28], 0
call fcn.00404900
add esp, 0x10
test esi, esi
je 0x404026
mov edx, dword [esp + 0x14]
push edx
push edi
call ebx
mov ecx, dword [esp + 0x18]
neg eax
sbb al, al
inc al
cmp esi, ecx
jne 0x404014
test al, al
jne 0x404038
mov eax, dword [esp + 0x10]
push 0
push eax
push edi
call fcn.00404670
add esp, 0xc
jmp 0x404038
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404038
push 0
call fcn.00404770
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x408074]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x404067
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x404067
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00404cb6
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x408074]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x404096
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x404096
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.00404cb6
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
jl 0x40419c
lea eax, [esp + 0x18]
push eax
push 0x2001f
xor ebx, ebx
push ebx
push str.SoftwarePoliciesMicrosoft
push 0x80000001
xor esi, esi
mov dword [esp + 0x2c], ebx
call ebp
cmp eax, ebx
jne 0x404125
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.Internet_ExplorerInfoDeliveryRestrictions
push esi
xor edi, edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x40410d
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x40410d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call ebx
xor edi, edi
jmp 0x404113
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x40411c
push esi
call ebx
xor esi, esi
test edi, edi
je 0x40412b
push edi
call ebx
jmp 0x40412b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x18]
push eax
push 0x2001f
push 0
push str.SoftwarePoliciesMicrosoftInternet_ExplorerInfoDeliveryRestrictions
push 0x80000001
mov dword [esp + 0x2c], 0
call ebp
test eax, eax
jne 0x404193
test esi, esi
je 0x404156
push esi
call ebx
test eax, eax
mov esi, dword [esp + 0x18]
jne 0x404193
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x404187
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.NoSearchBox
push esi
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x404193
push str.NoSearchBox
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x4041a2
push esi
call ebx
jmp 0x4041a2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x30]
test edi, edi
jle 0x40420d
lea edx, [esp + 0x18]
push edx
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
mov dword [esp + 0x2c], 0
call ebp
test eax, eax
jne 0x40420d
mov esi, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.MaxConnectionsPerServer
push esi
mov dword [esp + 0x2c], edi
call ebp
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.MaxConnectionsPer1_0Server
push esi
mov dword [esp + 0x30], edi
call ebp
test esi, esi
je 0x40420d
push esi
call ebx
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40421f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
test ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
je 0x404241
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx - 8]
test edx, edx
je 0x404241
push 3
push ecx
push eax
call ebx
mov esi, dword [esp + 0x3c]
mov eax, dword [esi - 8]
test eax, eax
je 0x404376
push esi
call fcn.00404820
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x40436f
mov esi, eax
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.004048b0
add esp, 8
push eax
lea ecx, [esp + 0x1c]
call fcn.004039d0
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 8]
test eax, eax
jle 0x40432f
push 0x7c
push edi
call fcn.00403640
add esp, 8
test eax, eax
je 0x40432f
sub eax, edi
sar eax, 1
mov esi, eax
test esi, esi
jle 0x40432f
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00403dd0
lea ecx, [edi + esi*2 + 2]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403d60
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp - 8]
test eax, eax
mov esi, dword [esp + 0x10]
je 0x4042e8
mov eax, dword [esi - 8]
test eax, eax
je 0x4042e8
push 3
push esi
push ebp
call ebx
mov eax, dword [0x408074]
lea edx, [esi - 0xc]
cmp edx, eax
je 0x40430b
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40430b
push esi
call fcn.00404cb6
add esp, 4
mov ecx, dword [0x408074]
lea eax, [ebp - 0xc]
cmp eax, ecx
je 0x40432f
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40432f
push esi
call fcn.00404cb6
add esp, 4
mov eax, dword [0x408074]
mov esi, dword [esp + 0x1c]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x404356
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x404356
push edi
call fcn.00404cb6
add esp, 4
test esi, esi
jne 0x404267
mov edx, dword [esp + 0x20]
push edx
call fcn.00404c97
mov esi, dword [esp + 0x40]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x24]
call fcn.004036e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret