Function at 0x40e1a0
Capabilities:
Access peb ldr_data
Delete registry value
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44f019
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
mov dword [esp + 0x20], 0
call fcn.00401a60
mov dword [esp + 0x30], 0
mov ecx, dword [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x30], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
mov ecx, str.Deleted
mov dword [esp + 0x1c], 0
call fcn.00401a60
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
mov edx, SysReAllocStringLen
call fcn.00426850
add esp, 8
test eax, eax
je 0x40e264
cmp dword [esp + 0x18], 0
je 0x40e264
mov bl, 1
jmp 0x40e266
xor bl, bl
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e285
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40e341
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.Deleted
call fcn.00401a60
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x38]
push edx
push 2
push 0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40e2bd
xor eax, eax
jmp 0x40e2e1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
test eax, eax
mov eax, dword [esp + 0x1c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e305
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40e341
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x40e32a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
lea ecx, [esp + 0x24]
push ecx
mov ecx, str.DisplayName
call fcn.00401a60
mov edx, dword [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x38], 3
mov ebx, 2
lea eax, [esp + 0x18]
mov edx, SysReAllocStringLen
mov dword [esp + 0x24], ebx
call fcn.004267e0
add esp, 8
test eax, eax
je 0x40e3b5
lea ecx, [esp + 0x20]
push ecx
mov ecx, 0x45587c
call fcn.00401a60
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
mov edx, SysReAllocStringLen
mov ebx, 6
call fcn.004267e0
add esp, 8
test eax, eax
mov byte [esp + 0x38], 0
jne 0x40e3ba
mov byte [esp + 0x38], 1
test bl, 4
je 0x40e3e5
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffb
add eax, 0xfffffff0
mov dword [esp + 0x1c], ebx
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e3e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 2
mov dword [esp + 0x30], 2
je 0x40e411
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e411
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
cmp byte [esp + 0x38], 0
jne 0x40e31c
test ebp, ebp
jg 0x40e43d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc