Function at 0x40c730
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4882b1
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4b2288]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2288]
xor eax, esp
push eax
lea eax, [esp + 0x15c]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
push 0x103
lea eax, [esp + 0x59]
push ebx
push eax
mov dword [esp + 0x170], ebx
mov byte [esp + 0x60], bl
call fcn.0045a0f0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40c7be
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x58]
push eax
push str.Start_Page
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 0x104
call fcn.00405e50
lea ebp, [esi + 0x378]
mov esi, 0x10
cmp dword [ebp + 0x18], esi
jb 0x40c7f3
mov ecx, dword [ebp + 4]
jmp 0x40c7f6
lea ecx, [ebp + 4]
lea eax, [esp + 0x54]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40c820
cmp dl, bl
je 0x40c81c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40c820
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x40c800
xor eax, eax
jmp 0x40c825
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x40c856
cmp dword [ebp + 0x18], esi
jb 0x40c833
mov esi, dword [ebp + 4]
jmp 0x40c836
lea esi, [ebp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push ebx
push str.Start_Page
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, 0x10
cmp edi, ebx
je 0x40c863
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebx
push str.SOFTWAREClassesCLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40c994
xor eax, eax
cmp edi, ebx
je 0x40c897
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
jne 0x40c994
push 0x104
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.0045a0f0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x58]
push ecx
push 0x48fb7c
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 0x104
call fcn.00405e50
cmp eax, ebx
jne 0x40c994
push 0x32
push str._C:program_FilesInternet_Exploreriexplore.exe_
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00404640
mov edx, dword [ebp + 0x14]
push ebx
push 0x48fb7c
push edx
push ebx
mov ecx, ebp
mov byte [esp + 0x174], 1
call fcn.00408790
test eax, eax
je 0x40c95b
push ebp
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004049e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x170], 2
call fcn.00404330
cmp dword [esp + 0x34], esi
jb 0x40c95b
mov edx, dword [esp + 0x20]
push edx
call fcn.00418702
add esp, 4
cmp dword [esp + 0x50], esi
mov esi, dword [esp + 0x3c]
jae 0x40c969
lea esi, [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
push esi
push 1
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [esp + 0x50], 0x10
jb 0x40c994
mov eax, dword [esp + 0x3c]
push eax
call fcn.00418702
add esp, 4
cmp edi, ebx
je 0x40c99f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x15c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00459426
add esp, 0x154
ret