Function at 0x469d50
Capabilities:
Check for time delay via gettickcount
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Reference http user-agent string
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x469d59
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00405300
mov eax, dword [ebp + 0x1c]
call fcn.00405300
mov eax, dword [ebp + 0x18]
call fcn.00405300
mov eax, dword [ebp + 0x14]
call fcn.00405300
mov eax, dword [ebp + 0x10]
call fcn.00405300
xor eax, eax
push ebp
push 0x46a456
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x20]
mov edx, 0x46a474
call fcn.00404f18
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
xor edx, edx
push ebp
push 0x46a3f8
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x7a]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x10]
call fcn.00469a90
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x64], 0x1388
push 4
lea eax, [ebp - 0x64]
push eax
push 2
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x64]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x64]
push eax
push 7
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 3
mov eax, dword [ebp + 0x10]
call fcn.00405310
push eax
mov eax, dword [ebp + 0x14]
call fcn.00405310
push eax
movzx eax, word [ebp - 0x7a]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405310
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 0x64]
push eax
push 8
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 4
lea eax, [ebp - 0x64]
push eax
push 7
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
call sub.kernel32.dll_GetLastError
cmp byte [ebp - 0x39], 0
je 0x469eab
mov edi, 0x46a4c4
jmp 0x469eb0
mov edi, 0x46a4cc
cmp byte [ebp + 0xc], 0
je 0x469eba
xor esi, esi
jmp 0x469ebf
mov esi, 0x80000000
cmp dword [ebp - 0x50], 4
jne 0x469ecb
or esi, 0x800000
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 0x18]
call fcn.00404f18
push 2
lea eax, [ebp - 0x30]
mov ecx, 1
mov edx, dword [0x469d00]
call fcn.0040668c
add esp, 4
mov eax, dword [ebp - 0x1c]
call fcn.00405310
mov edx, dword [ebp - 0x30]
mov dword [edx], eax
mov eax, dword [ebp - 0x30]
xor edx, edx
mov dword [eax + 4], edx
push 0
push esi
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp + 0x1c]
call fcn.00405310
push eax
push 0x46a4d0
mov eax, dword [ebp - 0x18]
call fcn.00405310
push eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
cmp byte [ebp - 0x39], 0
je 0x46a127
test ebx, ebx
je 0x46a031
mov ecx, 0x46a4e4
mov edx, 0x46a508
mov eax, ebx
call fcn.0041d8cc
mov ecx, 0x46a520
mov edx, 0x46a568
mov eax, ebx
call fcn.0041d8cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x46a031
inc edi
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
call fcn.0041cf9c
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
call fcn.0041dd14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x469fa0
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x469fdf
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46a578
call fcn.0040abd0
jmp 0x46a029
lea eax, [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46a578
call fcn.0040abd0
mov edx, dword [ebp - 0x190]
lea eax, [ebp - 0x24]
call fcn.0040514c
inc esi
dec edi
jne 0x469f7c
cmp dword [ebp - 0x38], 0
je 0x46a0f0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x46a04a
cmp eax, 0
je 0x46a0f0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x46a063
cmp eax, 0
jbe 0x46a0a3
jmp 0x46a065
jle 0x46a0a3
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
push eax
lea eax, [ebp - 0x34]
mov ecx, 1
mov edx, dword [0x408794]
call fcn.0040668c
add esp, 4
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.0041e4b0
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
call fcn.0041e6bc
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46a0af
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x34]
call fcn.004064d0
push eax
mov eax, dword [ebp - 0x34]
push eax
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405310
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x46a272
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x46a272
push 0
call sub.kernel32.dll_Sleep_2
jmp 0x46a272
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46a0fc
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405310
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x46a272
push 0
call sub.kernel32.dll_Sleep_2
jmp 0x46a272
test ebx, ebx
je 0x46a21b
mov ecx, 0x46a4e4
mov edx, 0x46a508
mov eax, ebx
call fcn.0041d8cc
mov ecx, 0x46a520
mov edx, 0x46a568
mov eax, ebx
call fcn.0041d8cc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edi, eax
dec edi
test edi, edi
jl 0x46a21b
inc edi
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, ebx
call fcn.0041cf9c
lea ecx, [ebp - 0x2c]
mov edx, esi
mov eax, ebx
call fcn.0041dd14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x46a18a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46a1c9
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46a578
call fcn.0040abd0
jmp 0x46a213
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 0x188], 0xb
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x184], eax
mov byte [ebp - 0x180], 0xb
lea edx, [ebp - 0x18c]
mov ecx, 1
mov eax, 0x46a578
call fcn.0040abd0
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0x24]
call fcn.0040514c
inc esi
dec edi
jne 0x46a166
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x46a227
sub ebx, 4
mov ebx, dword [ebx]
push 0
push 0
push ebx
mov eax, dword [ebp - 0x24]
call fcn.00405310
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
jne 0x46a272
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x46a25a
test eax, eax
jne 0x46a25a
sub eax, 0xfffff
push eax
call sub.kernel32.dll_Sleep_2
push ebp
call fcn.00469d24
pop ecx
mov byte [ebp - 0x3a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a402
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x48], 4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x20000013
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x46a2a5
cmp dword [ebp - 0x40], 0xc8
je 0x46a2bd
push ebp
call fcn.00469d24
pop ecx
mov byte [ebp - 0x3a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a402
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], 4
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
push 0x20000005
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x3a], al
cmp byte [ebp - 0x3a], 0
jne 0x46a302
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0x7fffffff
jmp 0x46a30d
mov eax, dword [ebp - 0x44]
xor edx, edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x38], 0
jne 0x46a331
cmp dword [ebp - 0x40], 0xc8
sete byte [ebp - 0x3a]
jmp 0x46a3e7
push 0
push 0
mov eax, dword [ebp - 0x38]
call fcn.0041e514
cmp dword [ebp + 8], 0
jle 0x46a381
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
sub eax, dword [ebp - 0x60]
sbb edx, dword [ebp - 0x5c]
push edx
push eax
mov eax, dword [ebp + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x46a365
cmp eax, dword [esp]
pop edx
pop eax
jae 0x46a381
jmp 0x46a369
pop edx
pop eax
jge 0x46a381
push ebp
call fcn.00469d24
pop ecx
mov byte [ebp - 0x3a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a402
lea eax, [ebp - 0x54]
push eax
push 0x101
lea eax, [ebp - 0x17b]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x46a3e7
cmp dword [ebp - 0x54], 0
jne 0x46a3aa
mov byte [ebp - 0x3a], 1
jmp 0x46a3e7
lea edx, [ebp - 0x17b]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 0x54]
xor edx, edx
add dword [ebp - 0x78], eax
adc dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebp - 0x6c]
jne 0x46a3dd
cmp eax, dword [ebp - 0x70]
jb 0x46a33d
jmp 0x46a3e3
jl 0x46a33d
mov byte [ebp - 0x3a], 1
push ebp
call fcn.00469d24
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a402
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a45d
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.00404ea4
lea eax, [ebp - 0x34]
mov edx, dword [0x408794]
call fcn.004067ac
lea eax, [ebp - 0x30]
mov edx, dword [0x469d00]
call fcn.004067ac
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.00404ea4
lea eax, [ebp + 0x10]
mov edx, 4
call fcn.00404ea4
ret