Function at 0x4059ce
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414c03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
mov dword [ebp - 0x12c], ecx
lea ecx, [ebp - 0x1c]
call fcn.00408270
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CHtmlView::GetHtmlDocument
push eax
lea ecx, [ebp - 0x1c]
call fcn.004083e0
push 0
lea ecx, [ebp - 0x14]
call fcn.00408420
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x18]
call fcn.00408420
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00408270
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x30]
call fcn.00408420
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00408d10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004084d0
test eax, eax
je 0x40653b
push 0
lea ecx, [ebp - 0x10]
call fcn.00408400
lea ecx, [ebp - 0x10]
call fcn.00412aa0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004084d0
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x130]
push edx
call dword [ecx + 0x34]
test eax, eax
jl 0x40653b
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.004084d0
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x134]
push eax
call dword [edx + 0x24]
test eax, eax
jl 0x40653b
cmp dword [ebp - 0x34], 0
je 0x40653b
cmp dword [ebp - 0x34], 0xc8
jle 0x405af4
mov dword [ebp - 0x138], 0xc8
jmp 0x405afd
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x34], edx
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv dword [ebp - 0x34]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], 0
jmp 0x405b3a
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x34]
sub ecx, 1
cmp dword [ebp - 0x3c], ecx
jg 0x40653b
push 0
lea ecx, [ebp - 0x50]
call fcn.00408c20
mov byte [ebp - 4], 6
push 0
lea ecx, [ebp - 0x68]
call fcn.00408c20
mov byte [ebp - 4], 7
push 0
lea ecx, [ebp - 0x6c]
call fcn.00408c20
mov byte [ebp - 4], 8
push 0
lea ecx, [ebp - 0x48]
call fcn.00408c20
mov byte [ebp - 4], 9
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
push 3
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x60]
call fcn.00408db0
mov byte [ebp - 4], 0xa
push 0
lea ecx, [ebp - 0x14]
call fcn.00408400
push 0
lea ecx, [ebp - 0x30]
call fcn.00408400
lea ecx, [ebp - 0x14]
call fcn.00412aa0
push eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x114], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10c], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x118]
mov dword [ecx], edx
mov eax, dword [ebp - 0x114]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x110]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x10c]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x11c], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x128]
mov dword [edx], eax
mov ecx, dword [ebp - 0x124]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x120]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x11c]
mov dword [edx + 0xc], ecx
lea ecx, [ebp - 0x10]
call fcn.004084d0
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [eax + 0x2c]
xor edx, edx
test eax, eax
setge dl
and edx, 0xff
test edx, edx
je 0x4064fa
lea ecx, [ebp - 0x14]
call fcn.004084d0
test eax, eax
je 0x4064fa
lea ecx, [ebp - 0x30]
call fcn.00412aa0
push eax
push 0x417180
lea ecx, [ebp - 0x14]
call fcn.004084d0
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x140]
push edx
call dword [ecx]
xor ecx, ecx
test eax, eax
setge cl
and ecx, 0xff
test ecx, ecx
je 0x4064fa
lea ecx, [ebp - 0x30]
call fcn.004084d0
test eax, eax
je 0x4064fa
lea ecx, [ebp - 0x50]
call fcn.00412aa0
push eax
lea ecx, [ebp - 0x30]
call fcn.004084d0
mov dword [ebp - 0x144], eax
mov edx, dword [ebp - 0x144]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x144]
push ecx
call dword [eax + 0x20]
push 0
lea ecx, [ebp - 0x18]
call fcn.00408400
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x50]
call fcn.004084d0
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x405d52
mov dword [ebp - 0x148], 0
jmp 0x405d90
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
add eax, 3
and al, 0xfc
call fcn.004136c0
mov dword [ebp - 0x14c], esp
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x74]
push edx
mov eax, dword [ebp - 0x14c]
push eax
call fcn.00408bb0
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x18]
call fcn.00412aa0
push eax
push 0x417170
lea ecx, [ebp - 0x14]
call fcn.004084d0
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x150]
push ecx
call dword [eax]
test eax, eax
jl 0x4064fa
mov byte [ebp - 0x84], 0
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x38]
jne 0x40601c
cmp dword [ebp + 0x10], 0
jne 0x40601c
push str..exe
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x40601c
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x154]
push ecx
call dword [eax + 0xd8]
lea edx, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x158]
push edx
call dword [ecx + 0xdc]
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x15c]
push eax
call dword [edx + 0xd4]
lea ecx, [ebp - 0x94]
push ecx
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x160]
push ecx
call dword [eax + 0xd0]
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00408450
mov byte [ebp - 4], 0xb
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x98], 0
push 0
lea ecx, [ebp - 0xa0]
call fcn.00408420
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa0]
call fcn.00412aa0
push eax
lea ecx, [ebp - 0x9c]
call fcn.004084d0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x164]
push edx
call dword [ecx + 0xe0]
neg eax
sbb eax, eax
inc eax
and eax, 0xff
test eax, eax
je 0x405fcd
lea ecx, [ebp - 0xa0]
call fcn.004084d0
test eax, eax
je 0x405fcd
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xa0]
call fcn.004084d0
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x168]
push eax
call dword [edx + 0xd4]
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.004084d0
mov dword [ebp - 0x16c], eax
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x16c]
push ecx
call dword [eax + 0xd0]
mov edx, dword [ebp - 0x88]
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x94]
add eax, dword [ebp - 0xa8]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x98], 1
lea ecx, [ebp - 0xa0]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00408490
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.00408520
mov edx, dword [ebp - 0x98]
and edx, 0xff
test edx, edx
jne 0x405ec7
mov byte [ebp - 0x84], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov dword [edx], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x9c]
call fcn.00408520
cmp dword [ebp + 0x10], 4
jne 0x40604d
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x38]
jl 0x40604d
cmp dword [ebp - 0x70], 0
je 0x40604d
push str.baidu
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x40604d
mov byte [ebp - 0x84], 1
cmp dword [ebp + 0x10], 1
jne 0x40608a
mov eax, dword [ebp - 0x38]
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0xac], edx
push str.cache.baidu.com
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x40608a
cmp dword [ebp - 0xac], 2
jg 0x40608a
mov byte [ebp - 0x84], 1
cmp dword [ebp + 0x10], 2
jne 0x4060c7
mov eax, dword [ebp - 0x38]
cdq
mov ecx, 5
idiv ecx
mov dword [ebp - 0xb0], edx
push 0x41a460
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4060c7
cmp dword [ebp - 0xb0], 2
jg 0x4060c7
mov byte [ebp - 0x84], 1
cmp dword [ebp + 0x10], 3
jne 0x4061d0
lea ecx, [ebp - 0xc0]
call fcn.00408c00
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc0]
call fcn.00412aa0
push eax
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x170]
push edx
call dword [ecx + 0xf0]
mov dword [ebp - 0xb8], 0
lea ecx, [ebp - 0xc0]
call fcn.004084d0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x40613f
mov dword [ebp - 0x174], 0
jmp 0x40618c
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ebp - 0xc8]
add eax, 3
and al, 0xfc
call fcn.004136c0
mov dword [ebp - 0x178], esp
mov edx, dword [ebp - 0xc8]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00408bb0
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 0
je 0x4061c1
push 0x41a464
mov eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x4061c1
mov byte [ebp - 0x84], 1
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc0]
call fcn.00408c50
mov ecx, dword [ebp - 0x84]
and ecx, 0xff
test ecx, ecx
je 0x4064fa
lea ecx, [ebp - 0x18]
call fcn.004084d0
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x17c]
push ecx
call dword [eax + 0x114]
lea ecx, [ebp - 0xd0]
call fcn.00408270
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.00408270
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xd0]
call fcn.00412aa0
push eax
push 0x416c38
lea ecx, [ebp - 0x1c]
call fcn.004084d0
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x180]
push ecx
call dword [eax]
lea ecx, [ebp - 0xd4]
call fcn.00412aa0
push eax
push 0x416bf8
lea ecx, [ebp - 0xd0]
call fcn.004084d0
mov dword [ebp - 0x184], eax
mov edx, dword [ebp - 0x184]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x184]
push ecx
call dword [eax]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0
jl 0x40649e
push 0
lea ecx, [ebp - 0xe8]
call fcn.00408420
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe4]
call fcn.00408d10
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe8]
call fcn.00412aa0
push eax
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0xd4]
call fcn.004084d0
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x188]
push edx
call dword [ecx + 0x3c]
mov dword [ebp - 0xcc], eax
xor eax, eax
cmp dword [ebp - 0xcc], 0
setge al
and eax, 0xff
test eax, eax
je 0x406480
lea ecx, [ebp - 0xe8]
call fcn.004084d0
test eax, eax
je 0x406480
lea ecx, [ebp - 0xe8]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x108]
call fcn.004084e0
mov byte [ebp - 4], 0x12
push str.onmousedown
lea ecx, [ebp - 0x104]
call fcn.00408c70
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x104]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x108]
call fcn.004084d0
mov dword [ebp - 0x18c], eax
mov ecx, dword [ebp - 0x18c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18c]
push eax
call dword [edx + 0x98]
push 2
lea ecx, [ebp - 0x108]
call fcn.004084d0
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x190]
push eax
call dword [edx + 0x90]
lea ecx, [ebp - 0x18]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x100]
call fcn.00408550
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xe8]
call fcn.004084d0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00408de0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0xf8]
push edx
lea ecx, [ebp - 0x104]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x100]
call fcn.004084d0
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x194]
push edx
call dword [ecx + 0x7c]
mov eax, 1
test eax, eax
je 0x406431
mov dword [ebp - 0x198], 0
jmp 0x406444
push str.CLICK_.........
call fcn.00407f70
add esp, 4
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xf8]
call fcn.00408d30
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x100]
call fcn.00408520
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x104]
call fcn.00408c50
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x108]
call fcn.00408520
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xe4]
call fcn.00408d30
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xe8]
call fcn.00408520
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd4]
call fcn.00408520
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd0]
call fcn.00408520
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.00408d30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00408c50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00408c50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00408c50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00408c50
jmp 0x40653b
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.00408d30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x48]
call fcn.00408c50
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x6c]
call fcn.00408c50
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.00408c50
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00408c50
jmp 0x405b31
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00408d30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00408520
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.00408520
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00408520
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00408520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00408520
lea esp, [ebp - 0x198]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc