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

Disassembly:
push 0xffffffffffffffff
push 0x418de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x80], ebx
call sub.MFC42.DLL_CHtmlView::GetHtmlDocument
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x48], edi
je 0x40c608
mov dword [esp + 0x24], ebx
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ecx
push str._D_3
push edi
mov byte [esp + 0x8c], 1
call dword [eax]
cmp eax, ebx
mov eax, dword [esp + 0x24]
jl 0x40c5e6
cmp eax, ebx
je 0x40c5e6
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push ecx
push eax
mov edx, dword [eax]
mov byte [esp + 0x88], 4
call dword [edx + 0x34]
cmp eax, ebx
je 0x40c200
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 3
cmp eax, ebx
je 0x40c1c6
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], bl
cmp eax, ebx
je 0x40c5f7
jmp 0x40c5f1
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp eax, ebx
je 0x40c276
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 3
cmp eax, ebx
je 0x40c229
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], bl
cmp eax, ebx
je 0x40c260
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [edi]
push edi
mov dword [esp + 0x84], 0xffffffff
call dword [eax + 8]
jmp 0x40c608
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 6
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x40]
xor esi, esi
cmp eax, ebx
jle 0x40c54f
mov edi, dword [esp + 0x74]
mov word [esp + 0x68], 0x17
lea ecx, [esp + 0x58]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x58]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov byte [esp + 0x94], 8
mov ecx, esp
sub esp, 0x10
mov edx, dword [eax]
mov dword [ecx], ebp
mov ebp, dword [esp + 0x80]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x84]
mov dword [ecx + 8], ebp
mov ebp, dword [esp + 0x88]
mov dword [ecx + 0xc], ebp
mov ebp, dword [esp + 0x8c]
mov ecx, esp
push eax
mov dword [ecx], ebp
mov ebp, dword [esp + 0x94]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], edi
call dword [edx + 0x2c]
cmp eax, ebx
je 0x40c34a
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 7
cmp eax, ebx
je 0x40c4de
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40c4de
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x41cf6c
mov ecx, dword [eax]
push eax
mov byte [esp + 0x8c], 9
call dword [ecx]
cmp eax, ebx
je 0x40c3a2
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x40c383
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 7
cmp eax, ebx
je 0x40c4de
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40c4de
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x41cf5c
mov ecx, dword [eax]
push eax
mov byte [esp + 0x8c], 0xa
call dword [ecx]
cmp eax, ebx
je 0x40c40a
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 9
cmp eax, ebx
je 0x40c3db
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x40c3f1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 7
cmp eax, ebx
je 0x40c4de
jmp 0x40c4d8
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x38]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xe8]
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x44]
push edx
call fcn.00416d6e
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
call fcn.00416d6e
lea ecx, [esp + 0x12]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
call sub.MFC42.DLL_AfxParseURL
cmp eax, ebx
je 0x40c49c
cmp dword [esp + 0x4c], 3
jne 0x40c49c
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x28]
push eax
call fcn.0040c050
cmp al, byte [esp + 0x8c]
jne 0x40c49c
mov eax, dword [esp + 0x88]
cmp eax, ebx
jl 0x40c498
cmp dword [esp + 0x34], eax
je 0x40c4ed
inc dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 9
cmp eax, ebx
je 0x40c4b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x40c4c8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 7
cmp eax, ebx
je 0x40c4de
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x40c2ba
jmp 0x40c54b
mov eax, dword [esp + 0x1c]
push str._blank
push eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x114]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x80], 9
cmp eax, ebx
je 0x40c51f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x80], 8
cmp eax, ebx
je 0x40c535
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x80], 7
cmp eax, ebx
je 0x40c54b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
mov byte [esp + 0x80], 3
cmp eax, ebx
je 0x40c598
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov byte [esp + 0x80], bl
cmp eax, ebx
je 0x40c5cf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [edi]
push edi
mov dword [esp + 0x84], 0xffffffff
call dword [eax + 8]
mov eax, dword [esp + 0x34]
jmp 0x40c60a
cmp eax, ebx
mov byte [esp + 0x80], bl
je 0x40c5f7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [edi]
push edi
mov dword [esp + 0x84], 0xffffffff
call dword [edx + 8]
xor eax, eax
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 8