Function at 0x10004cbc
Capabilities:
Create http request
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
lea ecx, [ebp - 0x20]
call fcn.10001000
mov eax, dword [0x10017138]
cmp dword [ebp + 8], eax
jae 0x10004cd7
mov dword [ebp + 8], eax
push ebx
push esi
push edi
mov edi, str.vpage
push edi
lea ecx, [ebp + 0xc]
call fcn.10001504
mov esi, eax
xor ebx, ebx
cmp esi, 0xffffffff
jle 0x10004deb
push str.Accept:_text_html____r_nAccept_Language:_zh_cn_r_nAccept_Encoding:_gzip__deflate_r_nContent_Type:_text_xml_r_n
lea ecx, [ebp - 0x20]
call fcn.10001576
push str.Referer:
lea ecx, [ebp - 0x20]
call fcn.1000171e
push 0x100171b4
lea ecx, [ebp + 0xc]
call fcn.100013e2
push 0xfffffffffffffffa
pop ecx
sub ecx, esi
add esi, 6
add eax, ecx
lea ecx, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push esi
push eax
call fcn.10001766
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000169b
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
call fcn.10001709
lea ecx, [ebp - 0x18]
call fcn.10001171
lea ecx, [ebp - 0xc]
call fcn.10001171
push str.Mozilla_4.0__compatible_
lea ecx, [ebp - 0x28]
call fcn.1000106f
mov eax, dword [0x1001af18]
cmp eax, 6
jne 0x10004d78
push str.MSIE_6.0_
jmp 0x10004d8e
cmp eax, 7
jne 0x10004d84
push str.MSIE_7.0_
jmp 0x10004d8e
cmp eax, 8
jne 0x10004d96
push str.MSIE_8.0_
lea ecx, [ebp - 0x28]
call fcn.1000171e
push ebx
push ebx
push ebx
push 1
push dword [ebp - 0x24]
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10004de3
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp - 0x1c]
push ebx
push 0x84000001
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], eax
call fcn.100013e2
push eax
push esi
push dword [ebp - 0x14]
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
cmp esi, ebx
jne 0x10004f76
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0x28]
call fcn.10001171
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x10004f61
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x10015338
push 0x15
push ebx
push 0x10015328
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x10004f61
mov eax, dword [ebp - 4]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x58]
push eax
call esi
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
push edi
lea ecx, [ebp + 0xc]
call fcn.10001504
mov edi, eax
cmp edi, 0xffffffff
jle 0x10004ec3
push str.Referer:
lea ecx, [ebp - 0x20]
call fcn.10001576
push 0x100171b4
lea ecx, [ebp + 0xc]
call fcn.100013e2
push 0xfffffffffffffffa
pop ecx
sub ecx, edi
add eax, ecx
lea ecx, [ebp + 0xc]
push eax
lea eax, [edi + 6]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10001766
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000169b
add esp, 0xc
lea ecx, [ebp - 0x20]
push eax
call fcn.10001709
lea ecx, [ebp - 0x28]
call fcn.10001171
lea ecx, [ebp - 0x18]
call fcn.10001171
push str.Cache_Control:_no_cache_r_n
lea ecx, [ebp - 0x20]
call fcn.1000171e
lea ecx, [ebp + 0xc]
mov word [ebp - 0x58], 8
call fcn.10001342
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x50], eax
mov word [ebp - 0x48], 8
call fcn.10001342
push eax
call esi
cmp edi, 0xffffffff
mov dword [ebp - 0x40], eax
mov word [ebp - 0x38], bx
lea ecx, [ebp - 0x48]
jg 0x10004f0d
lea ecx, [ebp - 0x38]
push ecx
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [eax]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x58]
push ecx
push eax
call dword [edx + 0xd0]
mov eax, dword [ebp + 8]
push 0xa
xor edx, edx
pop ecx
div ecx
push eax
push dword [ebp - 4]
call fcn.10004a57
pop ecx
pop ecx
push ebx
push ebx
push 0x10
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x32
push dword [ebp - 4]
call fcn.10004a57
push dword [ebp - 4]
call fcn.100032e2
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10001171
lea ecx, [ebp + 0xc]
call fcn.10001171
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 8]
push 0xa
xor edx, edx
pop ecx
div ecx
add eax, ecx
push eax
push ebx
call fcn.10004a57
pop ecx
pop ecx
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 8]
call esi
lea ecx, [ebp - 0x28]
call fcn.10001171
jmp 0x10004f61