Function at 0x40d400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44f144
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
mov eax, dword [0x460164]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
mov dword [esp + 0x10], 0
call fcn.00401a60
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00428b10
add esp, 0xc
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.DisplayName
call fcn.00401a60
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x28], 3
mov ebx, 1
mov ecx, edi
lea eax, [esp + 0x14]
mov edx, SysReAllocStringLen
mov dword [esp + 0x10], ebx
call fcn.00426700
add esp, 4
test eax, eax
je 0x40d4fe
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x45587c
call fcn.00401a60
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], 4
mov ebx, 3
mov ecx, ebp
lea eax, [esp + 0x14]
mov edx, SysReAllocStringLen
mov dword [esp + 0x10], ebx
call fcn.00426700
add esp, 4
test eax, eax
mov byte [esp + 0x30], 0
jne 0x40d503
mov byte [esp + 0x30], 1
test bl, 2
mov dword [esp + 0x24], 3
je 0x40d537
mov eax, dword [esp + 0x2c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0xc], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 1
mov dword [esp + 0x24], 2
je 0x40d567
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
and ebx, 0xfffffffe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d567
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], 0
je 0x40d693
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.DisplayName
call fcn.00401a60
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x28], 5
or ebx, 4
mov ecx, edi
lea eax, [esp + 0x14]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], ebx
call fcn.00426700
add esp, 4
test eax, eax
je 0x40d5e8
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x45587c
call fcn.00401a60
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x28], 6
or ebx, 8
mov ecx, ebp
lea eax, [esp + 0x14]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x10], ebx
call fcn.00426700
add esp, 4
test eax, eax
mov byte [esp + 0x30], 0
jne 0x40d5ed
mov byte [esp + 0x30], 1
test bl, 8
mov dword [esp + 0x24], 5
je 0x40d621
mov eax, dword [esp + 0x2c]
and ebx, 0xfffffff7
add eax, 0xfffffff0
mov dword [esp + 0xc], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40d621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, 4
mov dword [esp + 0x24], 2
je 0x40d64e
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d64e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x30], 0
je 0x40d693
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d67d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x1c
ret 8
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d6bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
add esp, 0x1c
ret 8