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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x412c8b
push eax
mov eax, 0x1458
mov dword fs:[0], esp
call fcn.0040afc0
mov eax, dword [esp + 0x1468]
push ebx
push ebp
push esi
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edi
xor ebp, ebp
push edx
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
call dword [ecx + 0x48]
test eax, eax
jl 0x406d8b
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x406d8b
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push 0x41343c
push eax
call dword [ecx]
test eax, eax
jl 0x406d8b
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jl 0x406d8b
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jle 0x406d8b
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov word [esp + 0x48], 0x17
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov edi, dword [eax]
push ecx
sub esp, 0x10
mov dword [esp + 0x48], edi
mov edi, esp
mov ecx, dword [esp + 0x68]
sub esp, 0x10
mov dword [edi], esi
mov dword [edi + 4], edx
mov dword [edi + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [edi + 0xc], ecx
mov edi, esp
push eax
mov dword [edi], esi
mov dword [edi + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ecx
call dword [edx + 0x2c]
test eax, eax
jl 0x406b8c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406b8c
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x41344c
push eax
call dword [ecx]
test eax, eax
jl 0x406b7a
mov eax, dword [esp + 0x10]
test eax, eax
je 0x406b7a
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x41345c
push eax
call dword [ecx]
test eax, eax
jl 0x406957
mov eax, dword [esp + 0x30]
test eax, eax
je 0x406957
mov ecx, dword [esp + 0x147c]
push ecx
push eax
call fcn.004067e0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x406d8b
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x40]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x38]
test eax, eax
jl 0x406983
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x868]
push edx
push 0x416640
push eax
call ebx
add esp, 0xc
jmp 0x406995
lea ecx, [esp + 0x868]
push str.no_name
push ecx
call ebx
add esp, 8
lea edx, [esp + 0x868]
push 0x416634
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x406a80
push eax
or edi, 0xffffffff
push eax
push edi
push str.href
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
dec esi
push esi
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebp, eax
test ebp, ebp
je 0x4069e7
push esi
push ebp
push edi
push str.href
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
push 0
mov ecx, dword [eax]
push ebp
push eax
mov dword [esp + 0x1480], 0
call dword [ecx + 0x20]
test eax, eax
jl 0x406a6e
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x68]
push eax
push 0x416640
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x406a6e
lea eax, [esp + 0x68]
push str.http
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x406a6e
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrA]
lea ecx, [esp + 0x68]
push str.mailto
push ecx
call esi
test eax, eax
jne 0x406a6e
lea edx, [esp + 0x68]
push str.javascript
push edx
call esi
test eax, eax
je 0x406ba2
push ebp
mov dword [esp + 0x1474], edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
test eax, eax
jl 0x406b68
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc68]
push eax
push 0x416640
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0xc68]
push str._A_href_
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x406af7
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrA]
add esi, 9
push 0x22
push esi
call edi
test eax, eax
je 0x406afd
push 7
push str.http:__
push esi
mov byte [eax], 0
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x406c50
jmp 0x406afd
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe8]
test eax, eax
jl 0x406b68
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x1068]
push eax
push 0x416640
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x1068]
push str._A_href_
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
mov esi, eax
test esi, esi
je 0x406b68
add esi, 9
push 0x22
push esi
call edi
test eax, eax
je 0x406b68
push 7
push str.http:__
push esi
mov byte [eax], 0
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
je 0x406cf6
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x3c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x4068a1
jmp 0x406d8b
push 8
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x406bcc
push ebp
mov dword [esp + 0x1474], edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x406d8b
mov ebx, dword [sym.imp.SHLWAPI.dll_StrDupA]
lea eax, [esp + 0x68]
push eax
call ebx
mov dword [esi], eax
mov eax, dword [0x41a308]
lea edx, [esp + 0x14]
mov dword [esp + 0x18], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jne 0x406c3d
mov ecx, 0x100
lea edi, [esp + 0x468]
push eax
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x470]
push 0x3ff
push eax
push ecx
call fcn.0040afef
mov edx, dword [esp + 0x28]
add esp, 4
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x468]
push eax
call ebx
mov dword [esi + 4], eax
or edi, 0xffffffff
push ebp
mov dword [esp + 0x1474], edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x406d8b
push 0x25
push esi
call edi
test eax, eax
je 0x406c6c
lea ecx, [esp + 0x34]
push 0x100000
push ecx
push 0
push esi
call dword [0x41a294]
push 8
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x406d8b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrDupA]
call esi
mov dword [ebp], eax
mov eax, dword [0x41a308]
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x78]
test eax, eax
jne 0x406d8b
mov ecx, 0x100
lea edi, [esp + 0x468]
push eax
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x470]
push 0x3ff
push edx
push eax
call fcn.0040afef
mov ecx, dword [esp + 0x28]
add esp, 4
push eax
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea edx, [esp + 0x468]
push edx
jmp 0x406d86
push 0x25
push esi
call edi
test eax, eax
je 0x406d12
lea eax, [esp + 0x44]
push 0x100000
push eax
push 0
push esi
call dword [0x41a294]
push 8
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
test ebp, ebp
je 0x406d8b
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_StrDupA]
call esi
mov dword [ebp], eax
mov eax, dword [0x41a308]
lea edx, [esp + 0x38]
mov dword [esp + 0x18], ebp
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jne 0x406d8b
mov ecx, 0x100
lea edi, [esp + 0x68]
push eax
push eax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x70]
push 0x3ff
push eax
push ecx
call fcn.0040afef
mov edx, dword [esp + 0x4c]
add esp, 4
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x68]
push eax
call esi
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x406d99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x406da7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x406db5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x406dc3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x406dd1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x406ddf
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x1468]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1464
ret