Function at 0x40d7a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c401a
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x50e7dc]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x50e7dc]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
push str.CInternetExplorer::ResetHP___start
lea ecx, [esp + 0x7c]
call fcn.00404bd0
lea eax, [esp + 0x78]
xor ebx, ebx
push eax
mov dword [esp + 0x19c], ebx
call fcn.004017f5
or dword [esp + 0x19c], 0xffffffff
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [esp + 0x80]
call fcn.004058b3
push str.MicrosoftInternet_ExplorerMain
lea ecx, [esp + 0x108]
call fcn.00404bd0
push esi
push SysReAllocString
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x148]
mov dword [esp + 0x1a4], esi
call fcn.004069e3
mov edi, str.error
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0x19c], 2
call fcn.00404bd0
push str.Start_Page
lea ecx, [esp + 0x7c]
mov byte [esp + 0x19c], 3
call fcn.00404bd0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x1a4], 4
call fcn.00406d31
push ebx
push esi
lea ecx, [esp + 0x80]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a0], 7
call fcn.004058b3
push edi
lea ecx, [esp + 0xd0]
call fcn.00404d1c
test eax, eax
jne 0x40d927
push 5
pop edi
push ebx
push esi
lea ecx, [esp + 0xd4]
call fcn.004058b3
lea ecx, [esp + 0x13c]
call fcn.004017b6
push ebx
push esi
lea ecx, [esp + 0x10c]
call fcn.004058b3
mov eax, edi
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0049f533
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x24]
push eax
call fcn.00407b93
push str.Secondary_Start_Pages
lea ecx, [esp + 0x7c]
mov byte [esp + 0x19c], 8
call fcn.00404bd0
lea eax, [esp + 0x13c]
push eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x7c]
mov byte [esp + 0x19c], 9
call fcn.00407263
push ebx
push esi
lea ecx, [esp + 0x80]
call fcn.004058b3
push 7
pop edi
push ebx
lea ecx, [esp + 0xb4]
mov dword [esp + 0xcc], edi
call fcn.00405ece
push ebx
lea ecx, [esp + 0xec]
mov dword [esp + 0x104], edi
call fcn.00405ece
push 0x4d51f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x19c], 0xb
call fcn.00404bd0
push str.HOMEPAGE
lea ecx, [esp + 0x98]
mov byte [esp + 0x19c], 0xc
call fcn.00404bd0
push 0x4d7fd0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x19c], 0xd
call fcn.00404bd0
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x12c]
push eax
mov byte [esp + 0x1a8], 0xe
call fcn.004082c8
add esp, 0x10
push ebx
push esi
lea ecx, [esp + 0x80]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x9c]
call fcn.004058b3
push ebx
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0x12
call fcn.004058b3
lea eax, [esp + 0xe8]
push eax
lea eax, [esp + 0xb4]
push eax
lea ebx, [esp + 0x128]
call fcn.0041f0e3
pop ecx
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
pop ecx
mov byte [esp + 0x12], 0
jae 0x40da79
lea eax, [esp + 0xb4]
xor edi, edi
push edi
push eax
lea ecx, [esp + 0xd4]
call fcn.00404cae
cmp eax, 0xffffffff
je 0x40dadc
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test eax, eax
je 0x40dadc
push str.about:blank
lea ecx, [esp + 0x60]
call fcn.00404bd0
xor ebx, ebx
inc ebx
push ebx
lea ecx, [esp + 0x60]
mov byte [esp + 0x19c], 0x13
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
push edi
push ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a0], 0x12
call fcn.004058b3
mov byte [esp + 0x12], bl
jmp 0x40dadf
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x40dca8
lea eax, [esp + 0x5c]
push eax
call fcn.00407b93
mov byte [esp + 0x198], 0x14
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
jbe 0x40db16
call fcn.004a0556
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x30], esi
jbe 0x40db31
call fcn.004a0556
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00407ce0
test al, al
je 0x40dc46
call fcn.00476440
push eax
lea ecx, [esp + 0x44]
call fcn.00404bf2
cmp dword [esp + 0xc8], 8
mov edx, dword [esp + 0xb4]
jae 0x40db79
lea edx, [esp + 0xb4]
xor edi, edi
push edi
push edx
mov ecx, eax
call fcn.00404cae
push edi
cmp eax, 0xffffffff
push ebx
lea ecx, [esp + 0x48]
sete byte [esp + 0x1b]
call fcn.004058b3
cmp byte [esp + 0x13], 0
je 0x40dc38
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
push 0x1c
cdq
pop ecx
idiv ecx
lea esi, [esp + 0x14]
test eax, eax
jne 0x40dc04
call fcn.00476440
push eax
lea ecx, [esp + 0x44]
call fcn.00404bf2
cmp byte [esp + 0x12], bl
jne 0x40dbfa
mov ecx, dword [esp + 0x3c]
push ebx
mov byte [esp + 0x19c], 0x15
mov edx, dword [ecx]
push eax
call dword [edx + 0x14]
push edi
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0x14
call fcn.004058b3
mov byte [esp + 0x12], 0
jmp 0x40dc38
mov byte [esp + 0x198], 0x16
jmp 0x40dc1b
call fcn.00476440
push eax
lea ecx, [esp + 0x44]
call fcn.00404bf2
mov byte [esp + 0x198], 0x17
push eax
lea eax, [esp + 0x60]
call fcn.00407be2
push edi
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0x14
call fcn.004058b3
lea esi, [esp + 0x14]
call fcn.00407cb5
jmp 0x40db22
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x68]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x40dcef
push str.Secondary_Start_Pages
lea ecx, [esp + 0x44]
call fcn.00404bd0
lea eax, [esp + 0x5c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x140]
mov byte [esp + 0x19c], 0x18
call fcn.004073b0
push 0
push ebx
lea ecx, [esp + 0x48]
call fcn.004058b3
lea esi, [esp + 0x5c]
call fcn.00407df2
push dword [esp + 0x5c]
call fcn.0049ecd9
pop ecx
xor edi, edi
push edi
push ebx
lea ecx, [esp + 0x128]
call fcn.004058b3
push edi
push ebx
lea ecx, [esp + 0xf0]
call fcn.004058b3
push edi
push ebx
lea ecx, [esp + 0xb8]
call fcn.004058b3
lea esi, [esp + 0x24]
call fcn.00407df2
push dword [esp + 0x24]
call fcn.0049ecd9
xor esi, esi
xor ebx, ebx
pop ecx
inc esi
jmp 0x40d8d9
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
jbe 0x40dcfe
call fcn.004a0556
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x34]
cmp dword [esp + 0x30], esi
jbe 0x40dd19
call fcn.004a0556
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], esi
lea edi, [esp + 0x1c]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00407ce0
test al, al
je 0x40dc93
push str.Secondary_Start_Pages
lea ecx, [esp + 0x44]
call fcn.00404bd0
mov byte [esp + 0x198], 0x19
call fcn.00476440
push eax
lea ecx, [esp + 0x98]
call fcn.00404bf2
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x144]
push eax
mov byte [esp + 0x1a4], 0x1a
call fcn.0040750f
push 0
push ebx
lea ecx, [esp + 0x9c]
call fcn.004058b3
push 0
push ebx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], 0x14
call fcn.004058b3
call fcn.00407cb5
jmp 0x40dd0a