Function at 0x41f27d
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x52c
mov eax, 0x4c1b20
call fcn.0049f5e1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4d8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x51c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x510], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x514], eax
mov eax, dword [ebp + 0x18]
mov ebx, ecx
mov dword [ebp - 0x518], eax
mov eax, dword [ebp + 0x1c]
xor esi, esi
mov dword [ebp - 0x4e0], esi
or dword [ebp - 0x4e8], 0xffffffff
push str.CHttpClient::SendString_start
lea ecx, [ebp - 0x508]
mov dword [ebp - 0x4d4], ebx
mov dword [ebp - 0x4ec], eax
call fcn.00404bd0
lea eax, [ebp - 0x508]
push eax
mov dword [ebp - 4], esi
call fcn.004017f5
pop ecx
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x508]
call fcn.004058b3
push esi
lea ecx, [ebp - 0x48c]
mov dword [ebp - 0x474], 0xf
call fcn.00405a99
lea ecx, [ebp - 0x4d0]
mov dword [ebp - 4], edi
call fcn.0040857f
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 2
call fcn.0040c9d2
mov byte [ebp - 4], 3
cmp dword [ebp - 0x424], esi
jne 0x41f35f
push str.Mozilla_4.0__compatible__MSIE_4.0__Windows_NT_4.0_
lea ecx, [ebp - 0x438]
call fcn.00405394
push str.CHttpClient::SendString_userAgent
lea ecx, [ebp - 0x508]
call fcn.00404bd0
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x508]
push eax
mov byte [ebp - 4], 4
call fcn.00401985
pop ecx
pop ecx
push esi
push edi
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 3
call fcn.004058b3
cmp dword [ebp - 0x420], 8
mov eax, dword [ebp - 0x434]
jae 0x41f3ae
lea eax, [ebp - 0x434]
push esi
push esi
push esi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x4e4], eax
cmp eax, esi
jne 0x41f42d
push str.CHttpClient::SendString_InternetOpen_failed.
lea ecx, [ebp - 0x508]
call fcn.00404bd0
lea eax, [ebp - 0x508]
push eax
mov byte [ebp - 4], 5
call fcn.004017f5
pop ecx
push esi
push edi
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 3
call fcn.004058b3
push 0x4d813c
mov ecx, ebx
call fcn.00404922
push esi
push edi
lea ecx, [ebp - 0x438]
call fcn.004058b3
lea ecx, [ebp - 0x4d0]
call fcn.004085fe
push esi
push edi
lea ecx, [ebp - 0x48c]
call fcn.00404ec6
mov eax, ebx
jmp 0x41f813
push 7
pop ebx
push esi
lea ecx, [ebp - 0x470]
mov dword [ebp - 0x458], ebx
call fcn.00405ece
push esi
lea ecx, [ebp - 0x454]
mov dword [ebp - 0x43c], ebx
call fcn.00405ece
mov ebx, dword [ebp - 0x4d8]
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x470]
push eax
mov byte [ebp - 4], 8
call fcn.0041f0e3
cmp dword [ebp - 0x458], 8
pop ecx
pop ecx
mov ecx, dword [ebp - 0x46c]
jae 0x41f488
lea ecx, [ebp - 0x46c]
push esi
push esi
push 3
mov eax, 0x4d53a8
push eax
push eax
push 0x50
push ecx
push dword [ebp - 0x4e4]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x4dc], eax
cmp eax, esi
jne 0x41f519
push str.CHttpClient::SendString_InternetConnect_failed.
lea ecx, [ebp - 0x508]
call fcn.00404bd0
lea eax, [ebp - 0x508]
push eax
mov byte [ebp - 4], 9
call fcn.004017f5
pop ecx
push esi
push edi
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 8
call fcn.004058b3
push dword [ebp - 0x4e4]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0x4d4]
push 0x4d813c
call fcn.00404922
push esi
push edi
lea ecx, [ebp - 0x454]
call fcn.004058b3
push esi
push edi
lea ecx, [ebp - 0x470]
call fcn.004058b3
jmp 0x41f7e8
cmp dword [ebp - 0x4e8], 0xffffffff
je 0x41f55c
mov ebx, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea ecx, [ebp - 0x4e8]
push ecx
push 2
push eax
call ebx
push 4
lea eax, [ebp - 0x4e8]
push eax
push 5
push dword [ebp - 0x4dc]
call ebx
push 4
lea eax, [ebp - 0x4e8]
push eax
push 6
push dword [ebp - 0x4dc]
call ebx
cmp dword [ebp - 0x43c], 8
mov ecx, dword [ebp - 0x450]
jae 0x41f571
lea ecx, [ebp - 0x450]
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x18], 8
jb 0x41f582
mov eax, dword [eax + 4]
jmp 0x41f585
add eax, 4
push esi
push 0x4400000
push esi
push esi
push esi
push ecx
push eax
push dword [ebp - 0x4dc]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x4d8], eax
cmp eax, esi
jne 0x41f5f3
push str.CHttpClient::SendString_HttpOpenRequest_failed.
lea ecx, [ebp - 0x508]
call fcn.00404bd0
lea eax, [ebp - 0x508]
push eax
mov byte [ebp - 4], 0xa
call fcn.004017f5
pop ecx
push esi
push edi
lea ecx, [ebp - 0x508]
mov byte [ebp - 4], 8
call fcn.004058b3
push dword [ebp - 0x4dc]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x4e4]
call ebx
jmp 0x41f4ea
lea eax, [ebp - 0x4a8]
push eax
call fcn.0041ef3b
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x4ec], esi
je 0x41f63c
mov eax, dword [ebp - 0x4ec]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x41f614
sub eax, edx
sar eax, 1
je 0x41f63c
push 0x20000000
push eax
push dword [ebp - 0x4ec]
push dword [ebp - 0x4d8]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
mov ebx, dword [ebp - 0x514]
mov edx, dword [ebx]
cmp edx, esi
je 0x41f65e
mov eax, dword [ebp - 0x510]
cmp dword [eax + 0x18], 0x10
jb 0x41f659
mov eax, dword [eax + 4]
jmp 0x41f660
add eax, 4
jmp 0x41f660
xor eax, eax
cmp dword [ebp - 0x490], 8
mov ecx, dword [ebp - 0x4a4]
jae 0x41f675
lea ecx, [ebp - 0x4a4]
push edx
push eax
push dword [ebp - 0x494]
push ecx
push dword [ebp - 0x4d8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push esi
lea eax, [ebp - 0x50c]
push eax
push dword [ebp - 0x518]
mov dword [ebp - 0x50c], 4
push 0x20000013
push dword [ebp - 0x4d8]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41f721
push str.CHttpClient::SendString_HttpQueryInfo_failed.
lea ecx, [ebp - 0x538]
call fcn.00404bd0
lea eax, [ebp - 0x538]
push eax
mov byte [ebp - 4], 0xc
call fcn.004017f5
pop ecx
push esi
push edi
lea ecx, [ebp - 0x538]
mov byte [ebp - 4], 0xb
call fcn.004058b3
push dword [ebp - 0x4dc]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x4e4]
call ebx
mov ecx, dword [ebp - 0x4d4]
push 0x4d813c
call fcn.00404922
push esi
push edi
lea ecx, [ebp - 0x4a8]
call fcn.004058b3
jmp 0x41f4fa
mov dword [ebx], esi
lea eax, [ebp - 0x4e0]
push eax
push 0x400
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x4d8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41f776
cmp dword [ebp - 0x4e0], esi
jbe 0x41f776
push dword [ebp - 0x4e0]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x48c]
call fcn.0041c1cb
mov eax, dword [ebp - 0x4e0]
add dword [ebx], eax
mov dword [ebp - 0x4e0], esi
jmp 0x41f723
push esi
push edi
lea ecx, [ebp - 0x4a8]
call fcn.004058b3
push esi
push edi
lea ecx, [ebp - 0x454]
call fcn.004058b3
push esi
push edi
lea ecx, [ebp - 0x470]
call fcn.004058b3
mov dword [ebp - 4], 3
jmp 0x41f7b8
push dword [ebp - 0x4dc]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push dword [ebp - 0x4e4]
call ebx
push dword [ebp - 0x4d8]
call ebx
mov ecx, dword [ebp - 0x4d4]
lea eax, [ebp - 0x48c]
push eax
call fcn.00404944
push esi
push edi
lea ecx, [ebp - 0x438]
call fcn.004058b3
lea ecx, [ebp - 0x4d0]
call fcn.004085fe
push esi
push edi
lea ecx, [ebp - 0x48c]
call fcn.00404ec6
mov eax, dword [ebp - 0x4d4]
call fcn.0049f63d
ret 0x18