Function at 0x40a9bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c41d4
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x50e7dc]
xor eax, esp
mov dword [esp + 0x568], eax
push ebx
push esi
push edi
mov eax, dword [0x50e7dc]
xor eax, esp
push eax
lea eax, [esp + 0x580]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], ecx
push str.CInternetExplorer::SetDefaultSearchProvider___start
lea ecx, [esp + 0x9c]
call fcn.00404bd0
lea eax, [esp + 0x98]
xor ebx, ebx
push eax
mov dword [esp + 0x58c], ebx
call fcn.004017f5
or dword [esp + 0x58c], 0xffffffff
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0xa0]
call fcn.004058b3
cmp byte [ebp + 0xc], bl
je 0x40aab5
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
call dword [eax + 0x84]
test eax, eax
jne 0x40aab5
push str.CInternetExplorer::SetDefaultSearchProvider___NOT_host_Browser___Exit
lea ecx, [esp + 0x9c]
call fcn.00404bd0
mov dword [esp + 0x588], esi
lea eax, [esp + 0x98]
push eax
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.004058b3
push 5
pop eax
mov ecx, dword [esp + 0x580]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x568]
xor ecx, esp
call fcn.0049f533
mov esp, ebp
pop ebp
ret 8
push ebx
push 0x5107e0
push 0x5107c0
push ebx
push edi
call fcn.004bcaba
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x98]
cmp edi, ebx
jne 0x40aaf5
push str.CInternetExplorer::SetDefaultSearchProvider___failed_to_dynamic_cast_to_CIESearchProvider
call fcn.00404bd0
mov dword [esp + 0x588], 2
jmp 0x40aa70
push str.CInternetExplorer::SetDefaultSearchProvider___GUID
call fcn.00404bd0
add edi, 0x90
lea eax, [esp + 0x98]
push edi
push eax
mov dword [esp + 0x590], 3
mov dword [esp + 0x38], edi
call fcn.00401985
or dword [esp + 0x590], 0xffffffff
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.004058b3
mov eax, dword [esp + 0x18]
cmp dword [eax + 0xa4], ebx
jne 0x40ab85
push str.CInternetExplorer::SetDefaultSearchProvider___GUID_is_empty___
lea ecx, [esp + 0x9c]
call fcn.00404bd0
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x58c], 4
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.004058b3
push 0xd
jmp 0x40aa8e
lea ecx, [esp + 0xf4]
mov dword [esp + 0x2c], 0x54f
mov dword [esp + 0x18], ebx
call fcn.0040857f
lea ecx, [esp + 0xf4]
mov dword [esp + 0x588], 5
call fcn.0040b640
push str.CInternetExplorer::SetDefaultSearchProvider___IE_version
lea ecx, [esp + 0x9c]
mov dword [esp + 0x24], eax
call fcn.00404bd0
mov byte [esp + 0x588], 6
push dword [esp + 0x20]
lea eax, [esp + 0x9c]
push eax
call fcn.004018c5
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0x590], 5
call fcn.004058b3
cmp dword [esp + 0x20], 9
jl 0x40b06c
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], bl
jne 0x40b063
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
push eax
lea ebx, [esp + 0x28]
call fcn.0041fee7
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esp + 0x20], ebx
je 0x40ac8f
cmp dword [esp + 0x24], ebx
je 0x40ac8f
cmp dword [esp + 0x18], ebx
je 0x40ac8f
push str.CInternetExplorer::SetDefaultSearchProvider___Done_because_the_guard_is_enabled.
lea ecx, [esp + 0x9c]
call fcn.00404bd0
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x58c], 7
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0xa0]
call fcn.004058b3
lea ecx, [esp + 0xf4]
call fcn.004085fe
xor eax, eax
jmp 0x40aa8f
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes_
push SysReAllocString
lea ecx, [esp + 0x30]
mov byte [esp + 0x594], 8
call fcn.0040151a
cmp eax, ebx
jne 0x40ad14
push str.DefaultScope
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x20]
lea edi, [esp + 0x16c]
mov dword [esp + 0x20], 0x104
call fcn.00401596
cmp eax, ebx
jne 0x40ad0d
mov ecx, dword [esp + 0x30]
mov eax, edi
push eax
call fcn.00404d1c
test eax, eax
jne 0x40ad0d
lea ecx, [esp + 0x24]
call fcn.004014a5
lea ecx, [esp + 0xf4]
call fcn.004085fe
mov eax, ebx
jmp 0x40aa8f
mov edi, dword [esp + 0x30]
xor esi, esi
inc esi
push ebx
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], 7
call fcn.00405ece
mov byte [esp + 0x588], 9
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x1c], ebx
jne 0x40aed7
push str.CInternetExplorer::SetDefaultSearchProvider___taking_path_from_program_files
lea ecx, [esp + 0x64]
call fcn.00404bd0
lea eax, [esp + 0x60]
push eax
mov byte [esp + 0x58c], 0xa
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x590], 9
call fcn.004058b3
push str.AVG_Secure_Search
lea ecx, [esp + 0x38]
call fcn.00404bd0
push str.PARTNER_NAME
lea ecx, [esp + 0xd4]
mov byte [esp + 0x58c], 0xb
call fcn.00404bd0
push str.General
lea ecx, [esp + 0x64]
mov byte [esp + 0x58c], 0xc
call fcn.00404bd0
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0xa4]
push eax
mov byte [esp + 0x598], 0xd
call fcn.004082c8
add esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x68]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0xd8]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x590], 0x11
call fcn.004058b3
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x80]
call fcn.00404bf2
lea eax, [esp + 0x34]
push str.ProgramFiles
push eax
mov byte [esp + 0x590], 0x12
call fcn.0040479d
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x594], 0x13
call fcn.00405301
push ebx
push esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x590], 0x12
call fcn.004058b3
mov edi, 0x4d5480
push edi
lea ecx, [esp + 0xb8]
call fcn.004052dd
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0xc0]
call fcn.00405c92
push edi
lea ecx, [esp + 0xb8]
call fcn.004052dd
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0xc0]
call fcn.00405c92
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0x590], 9
call fcn.004058b3
mov edi, dword [esp + 0x30]
jmp 0x40af28
push str.CInternetExplorer::SetDefaultSearchProvider___taking_path_from_the_szPath_parameter.
lea ecx, [esp + 0x80]
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x58c], 0x14
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 9
call fcn.004058b3
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
add eax, 8
push eax
lea ecx, [esp + 0xc0]
call fcn.00405301
push 0x4d53a8
lea ecx, [esp + 0xb8]
call fcn.004052dd
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esp + 0xc0]
call fcn.00405c92
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x24]
cmp eax, ebx
je 0x40af91
push 0xa
push 0x104
lea ecx, [esp + 0x374]
push ecx
push eax
call fcn.004a1f92
add esp, 0x10
push 0x4d53a8
lea ecx, [esp + 0xb8]
call fcn.004052dd
lea eax, [esp + 0x36c]
push eax
lea ecx, [esp + 0xb8]
call fcn.004052dd
xor eax, eax
lea edi, [esp + 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
lea eax, [esp + 0x120]
push ebx
push eax
call fcn.0049f650
add esp, 0xc
push str.CInternetExplorer::SetDefaultSearchProvider___CreateProcess._Path
lea ecx, [esp + 0x80]
mov dword [esp + 0x120], edi
call fcn.00404bd0
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x590], 0x15
call fcn.00401985
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.004058b3
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x40b00d
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x120]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40b03f
push dword [esp + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [esp + 0x54]
call edi
push ebx
push esi
lea ecx, [esp + 0xbc]
call fcn.004058b3
lea ecx, [esp + 0x24]
mov byte [esp + 0x588], 5
call fcn.004014a5
jmp 0x40b38c
mov dword [esp + 0x2c], ebx
jmp 0x40b38e
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
push eax
lea ebx, [esp + 0x20]
call fcn.0041fee7
xor ebx, ebx
pop ecx
pop ecx
cmp dword [esp + 0x18], ebx
je 0x40b1bb
cmp dword [esp + 0x24], ebx
je 0x40b1bb
cmp dword [esp + 0x20], ebx
jne 0x40b1bb
push str.CInternetExplorer:SetDefaultSearchProvider_Should_enable:
lea ecx, [esp + 0x80]
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x58c], 0x16
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 5
call fcn.004058b3
cmp dword [edi + 0x18], 8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
jb 0x40b0f6
mov ecx, dword [edi + 4]
jmp 0x40b0f9
lea ecx, [edi + 4]
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x1c]
call fcn.0040d509
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0041fd50
pop ecx
pop ecx
test eax, eax
je 0x40b1a1
push str.CInternetExplorer:SetDefaultSearchProvider:_SetEncryptedDefaultScope_Success
lea ecx, [esp + 0x80]
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x58c], 0x17
call fcn.004017f5
pop ecx
xor edi, edi
push edi
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 5
call fcn.004058b3
call fcn.0041fc62
test eax, eax
je 0x40b1a1
push str.CInternetExplorer:SetDefaultSearchProvider:_SetEnable_Success
lea ecx, [esp + 0x80]
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x58c], 0x18
call fcn.004017f5
pop ecx
push edi
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 5
call fcn.004058b3
mov dword [esp + 0x2c], edi
cmp dword [esp + 0x14], 0
je 0x40b38c
push dword [esp + 0x14]
call fcn.0049ecd9
pop ecx
jmp 0x40b38c
lea eax, [esp + 0xd0]
push eax
call fcn.0042a267
lea ecx, [esp + 0xd0]
mov byte [esp + 0x588], 0x19
call fcn.0042a774
lea ecx, [esp + 0x7c]
test al, al
je 0x40b23f
push str.CInternetExplorer::SetDefaultSearchProvider__GrantRegKeyAccess
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0x58c], 0x1a
call fcn.004017f5
pop ecx
push ebx
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 0x19
call fcn.004058b3
cmp dword [edi + 0x18], 8
jb 0x40b222
mov edi, dword [edi + 4]
jmp 0x40b225
add edi, 4
call fcn.004078e8
lea edi, [esp + 0xd0]
call fcn.0042ab82
mov edi, dword [esp + 0x30]
jmp 0x40b2ec
push 0x4d51f0
call fcn.00404bd0
lea eax, [esp + 0x7c]
push eax
push esi
lea ecx, [esp + 0x124]
mov byte [esp + 0x590], 0x1b
call fcn.004068a5
push ebx
push esi
lea ecx, [esp + 0x84]
mov byte [esp + 0x590], 0x1d
call fcn.004058b3
push str.User_Preferences
lea ecx, [esp + 0x38]
call fcn.00404bd0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x120]
call fcn.0040765b
push ebx
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.004058b3
push str.CInternetExplorer::SetDefaultSearchProvider__delete_User_Preferences_in_registry_
lea ecx, [esp + 0x38]
call fcn.00404bd0
mov byte [esp + 0x588], 0x1e
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push eax
call fcn.004018c5
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x3c]
call fcn.004058b3
lea ecx, [esp + 0x11c]
mov byte [esp + 0x588], 0x19
call fcn.004017b6
push str.SoftwareMicrosoftInternet_ExplorerSearchScopes
lea ecx, [esp + 0xb8]
call fcn.00404bd0
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
jae 0x40b31d
lea eax, [esp + 0xb8]
push 0x2001f
push eax
push SysReAllocString
lea ecx, [esp + 0x24]
call fcn.0040151a
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x40b361
cmp dword [edi + 0x18], 8
jb 0x40b344
mov edi, dword [edi + 4]
jmp 0x40b347
add edi, 4
push esi
push edi
push str.DefaultScope
lea ecx, [esp + 0x24]
call fcn.00406747
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
lea ecx, [esp + 0x18]
call fcn.004014a5
push ebx
push esi
lea ecx, [esp + 0xbc]
call fcn.004058b3
lea ecx, [esp + 0xd0]
mov byte [esp + 0x588], 5
call fcn.0042a2bb
xor ebx, ebx
push str.CInternetExplorer::SetDefaultSearchProvider___end_err
lea ecx, [esp + 0x80]
call fcn.00404bd0
push dword [esp + 0x2c]
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x590], 0x1f
call fcn.004018c5
pop ecx
pop ecx
push ebx
push esi
lea ecx, [esp + 0x84]
call fcn.004058b3
mov ebx, dword [esp + 0x2c]
jmp 0x40acfa