Function at 0x4073f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4400f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x454740]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
call fcn.0040bfa1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407430
push 0x80004005
call fcn.00401700
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 0
mov eax, dword [0x458c04]
mov ecx, 0x448d14
mov dx, word [eax]
or ebp, 0xffffffff
cmp dx, word [ecx]
jne 0x40747b
test dx, dx
je 0x407477
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40747b
add eax, 4
add ecx, 4
test dx, dx
jne 0x407452
xor eax, eax
jmp 0x40747f
sbb eax, eax
sbb eax, ebp
test eax, eax
setne al
lea ecx, [esp + 0x14]
test al, al
je 0x407493
push 0x458c04
jmp 0x407498
push 0x458c00
call fcn.00402a10
mov esi, dword [esp + 0x14]
cmp dword [esi - 0xc], 0
je 0x4075f0
push 0xff
mov dword [esp + 0x14], 0
call fcn.0040b095
add esp, 4
cmp byte [0x458aa0], 0
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
mov edi, eax
push 0
je 0x407508
push str.SoftwareMicrosoftInternet_ExplorerMain_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407539
push edi
call fcn.0040b08a
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x20], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x4075ff
push str.SOFTWAREMicrosoftInternet_ExplorerMain_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x407539
push edi
call fcn.0040b08a
lea eax, [esi - 0x10]
add esp, 4
mov dword [esp + 0x20], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
jmp 0x4075ff
add esi, 0xfffffff0
push esi
call fcn.004029a0
lea edi, [eax + 0x10]
lea eax, [edi - 0x10]
add esp, 4
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407563
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push 0xff
push edi
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4075aa
push edi
call fcn.0040b08a
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebp
lea eax, [esi + 0xc]
lock xadd dword [eax], ebp
dec ebp
test ebp, ebp
jg 0x40760d
mov ecx, dword [esi]
push esi
jmp 0x407606
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.0040b08a
add esp, 4
mov dword [esp + 0x20], ebp
lea edx, [esi + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x4075d8
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret
lea eax, [esi - 0x10]
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40760d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret