Function at 0x41a980
Capabilities:
Check http status code
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1450
call fcn.0041d7f0
push edi
mov dword [ebp - 0x1444], ecx
mov ecx, dword [ebp - 0x1444]
add ecx, 0x48
call fcn.0041bcd0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041aeb0
test eax, eax
jne 0x41a9bf
mov eax, SysReAllocString
jmp 0x41aea8
mov ecx, dword [ebp - 0x1444]
cmp dword [ecx + 0x44], 0
je 0x41a9d6
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
mov ecx, dword [ebp - 0x1444]
call fcn.004186f0
test eax, eax
jne 0x41a9ed
or eax, 0xffffffff
jmp 0x41aea8
mov edx, dword [ebp - 0x1444]
cmp dword [edx + 0x40], 0
je 0x41aa0e
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
mov eax, 2
jmp 0x41aea8
mov dword [ebp - 0x1008], 0x4400010
cmp dword [ebp + 0x14], 0
jne 0x41aa2f
mov eax, dword [ebp - 0x1008]
or eax, 0x200000
mov dword [ebp - 0x1008], eax
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x1434], edx
push 0
mov eax, dword [ebp - 0x1008]
push eax
push 0x43d250
push 0
push 0x4348ac
mov ecx, dword [ebp - 0x1434]
push ecx
push 0x4348a8
mov edx, dword [ebp - 0x1444]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ecx, dword [ebp - 0x1444]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x1444]
cmp dword [edx + 0xc], 0
jne 0x41aaa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1444]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41aea8
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Encoding:_deflate_r_n
mov edx, dword [ebp - 0x1444]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Language:_zh_cn
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x1444]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41ab65
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1444]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
mov eax, dword [ebp - 0x1444]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0x1448], ecx
cmp dword [ebp - 0x1448], 0x2ee2
je 0x41ab53
cmp dword [ebp - 0x1448], 0x2ee7
je 0x41ab49
cmp dword [ebp - 0x1448], 0x2efd
je 0x41ab49
jmp 0x41ab5d
mov eax, reloc.OLEAUT32.dll_VariantClear
jmp 0x41aea8
mov eax, SysStringLen
jmp 0x41aea8
or eax, 0xffffffff
jmp 0x41aea8
mov dword [ebp - 0x1010], 0
mov dword [ebp - 0x1004], 4
push 0
lea edx, [ebp - 0x1004]
push edx
lea eax, [ebp - 0x1010]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41abc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1444]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41aea8
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x144c], edx
cmp dword [ebp - 0x144c], 0xc8
je 0x41ace1
cmp dword [ebp - 0x144c], 0x12c
jbe 0x41ace3
cmp dword [ebp - 0x144c], 0x12e
jbe 0x41ac01
jmp 0x41ace3
mov byte [ebp - 0x1420], 0
mov ecx, 0x100
xor eax, eax
lea edi, [ebp - 0x141f]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1004], 0x400
push 0
lea eax, [ebp - 0x1004]
push eax
lea ecx, [ebp - 0x1420]
push ecx
push 0x21
mov edx, dword [ebp - 0x1444]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x41ac69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x1444]
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41aea8
mov edx, dword [ebp - 0x1444]
add edx, 0x48
mov dword [ebp - 0x1440], edx
lea eax, [ebp - 0x1420]
test eax, eax
jne 0x41ac8e
mov dword [ebp - 0x1450], 0
jmp 0x41aca1
lea ecx, [ebp - 0x1420]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1450], eax
lea edx, [ebp - 0x1420]
push edx
mov eax, dword [ebp - 0x1450]
push eax
mov ecx, dword [ebp - 0x1440]
call fcn.00402440
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x1444]
mov dword [eax + 0xc], 0
mov eax, 1
jmp 0x41aea8
jmp 0x41acf6
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41aea8
mov ecx, dword [ebp - 0x1444]
cmp dword [ecx + 0x40], 0
je 0x41ad17
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
mov eax, 2
jmp 0x41aea8
push 0x1000
push 0
lea edx, [ebp - 0x1000]
push edx
call fcn.0041c540
add esp, 0xc
mov dword [ebp - 0x1018], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x100c], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x1018], 0
mov ecx, dword [ebp - 0x1444]
cmp dword [ecx + 0x40], 0
je 0x41ad7f
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
mov eax, 2
jmp 0x41aea8
lea edx, [ebp - 0x1018]
push edx
push 0xfff
lea eax, [ebp - 0x1000]
push eax
mov ecx, dword [ebp - 0x1444]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41ae4d
cmp dword [ebp - 0x1018], 0
jbe 0x41ae4b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1018]
add ecx, dword [eax]
cmp ecx, dword [ebp - 0x100c]
ja 0x41ae0b
mov edx, dword [ebp - 0x1018]
push edx
lea eax, [ebp - 0x1000]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
call fcn.0041c7e0
add esp, 0xc
mov edx, dword [ebp - 0x1014]
add edx, dword [ebp - 0x1018]
mov dword [ebp - 0x1014], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, dword [ebp - 0x1018]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x41ae4b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x100c]
sub ecx, dword [eax]
mov dword [ebp - 0x1424], ecx
mov edx, dword [ebp - 0x1424]
push edx
lea eax, [ebp - 0x1000]
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
call fcn.0041c7e0
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp - 0x1424]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x41ae79
jmp 0x41ae6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x1444]
mov dword [edx + 0x50], eax
mov ecx, dword [ebp - 0x1444]
call fcn.0041bbe0
or eax, 0xffffffff
jmp 0x41aea8
cmp dword [ebp - 0x1018], 0
ja 0x41ad54
mov eax, dword [ebp - 0x1444]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x1444]
mov dword [edx + 0xc], 0
cmp dword [ebp - 0x1018], 0
jbe 0x41aea6
mov eax, reloc.OLEAUT32.dll_SysStringLen
jmp 0x41aea8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10