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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbcc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x414c1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0x424]
call fcn.0040bdf0
mov eax, dword [ebp - 0x424]
call fcn.00406994
push eax
call sub.wininet.dll_DeleteUrlCacheEntryW
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x428]
call fcn.0040bdf0
mov edx, dword [ebp - 0x428]
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.00414798
test al, al
je 0x414beb
mov eax, dword [ebp - 4]
test eax, eax
je 0x4149b8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jg 0x4149c0
mov al, 1
jmp 0x4149d1
mov eax, dword [ebp - 8]
test eax, eax
je 0x4149cc
sub eax, 4
mov eax, dword [eax]
test eax, eax
setle al
test al, al
jne 0x414beb
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x414beb
xor edx, edx
push ebp
push 0x414be4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
push 0
push 0
push 0x50
mov eax, dword [ebp - 4]
call fcn.00406994
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x414bcd
xor edx, edx
push ebp
push 0x414bc6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x84080300
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00406994
push eax
mov eax, dword [0x4240c0]
call fcn.00406994
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x414baf
xor edx, edx
push ebp
push 0x414ba8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x414c3c
push dword [0x4240b4]
push 0x414c5c
push dword [0x427db8]
push 0x414c74
push dword [0x427dbc]
push 0x414c9c
push dword [esi]
push 0x414cb4
push dword [esi + 4]
push 0x414ccc
lea edx, [ebp - 0x430]
mov eax, dword [esi + 8]
call fcn.004092f0
push dword [ebp - 0x430]
lea eax, [ebp - 0x42c]
mov edx, 0xc
call fcn.00406c1c
mov edx, dword [ebp - 0x42c]
lea eax, [ebp - 0xc]
mov ecx, 0
call fcn.00406968
mov eax, dword [0x4240b8]
mov dword [ebp - 0x434], eax
mov ebx, dword [ebp - 0x434]
test ebx, ebx
je 0x414b07
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
call fcn.0040684c
mov edi, eax
mov esi, dword [ebp - 0xc]
test esi, esi
je 0x414b1d
sub esi, 4
mov esi, dword [esi]
push esi
push edi
push ebx
mov eax, dword [0x4240b8]
call fcn.00406994
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_HttpSendRequestW
test eax, eax
jne 0x414b4c
call fcn.00405cd0
call fcn.00405cd0
call fcn.00405cd0
jmp 0x414beb
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x420]
xor ecx, ecx
mov edx, 0x400
call fcn.004044d0
lea eax, [ebp - 0x20]
push eax
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x414b91
cmp dword [ebp - 0x20], 0
jne 0x414b4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414baf
mov eax, dword [ebp - 0x1c]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414bcd
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414beb
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414c25
lea eax, [ebp - 0x430]
mov edx, 4
call fcn.004063f4
lea eax, [ebp - 0xc]
call fcn.004063b8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004063f4
ret