Function at 0x41a490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x4bbe70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4f5b3c]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
push 0x7d8
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.004abac8
cmp dword [esi + 0xc], ebx
jne 0x41a518
lea edi, [esi + 8]
push str.HTTP_File_not_open_for_read.
mov ecx, edi
call fcn.004a9d5c
push 3
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [0x4feef0], 0xc1
call fcn.004a9994
push ecx
mov byte [esp + 0x44], 1
mov eax, esp
mov dword [esp + 0x50], esp
push edi
push str.Http_Error:
push eax
jmp 0x41a9d0
mov edx, dword [esi + 0x50]
mov ebp, dword [esp + 0x44]
mov eax, dword [esi + 0x10]
lea ecx, [edx + ebp]
cmp ecx, eax
jle 0x41a52d
mov ebp, eax
sub ebp, edx
cmp ebp, ebx
jbe 0x41aaa9
mov edi, dword [esp + 0x40]
cmp edi, ebx
je 0x41aaa9
cmp edx, ebx
jl 0x41aaa9
cmp edx, eax
jge 0x41aaa9
cmp dword [esi + 0x38], ebx
jne 0x41a591
mov eax, dword [esi + 0x2b4]
cmp eax, ebx
je 0x41aaa9
push ebp
add eax, edx
push eax
push edi
call fcn.00475970
mov eax, dword [esi + 0x50]
add esp, 0xc
add eax, ebp
lea ecx, [esp + 0x10]
mov dword [esi + 0x50], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9c1f
mov eax, ebp
jmp 0x41aabc
xor ecx, ecx
lea eax, [esi + 0x58]
cmp dword [eax + 8], ebx
je 0x41a5a4
cmp dword [eax], edx
jne 0x41a5a4
cmp dword [eax + 4], ebp
je 0x41a5c3
inc ecx
add eax, 0xc
cmp ecx, 0x32
jl 0x41a596
mov eax, dword [esi + 0x2cc]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x44], edi
jle 0x41a963
jmp 0x41a5cf
lea edx, [ecx + ecx*2 + 0x18]
push ebp
mov eax, dword [esi + edx*4]
jmp 0x41a567
xor ebx, ebx
mov dword [esi + 0x3c], ebx
push str.In_read__before_connect
lea ecx, [esp + 0x20]
mov dword [0x4feef0], ebx
call fcn.004a9c8d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
push ecx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
cmp dword [0x4ff9a8], ebx
jne 0x41aaa9
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x2b8]
inc ecx
cmp edx, eax
mov dword [esp + 0x14], ecx
jge 0x41a646
mov eax, dword [esi + 0x2d4]
mov ecx, esi
cmp eax, ebx
je 0x41a63e
call fcn.0041c430
jmp 0x41a643
call fcn.004b76c4
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x50]
push ebp
add eax, edi
mov ecx, esi
push eax
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
call fcn.0041b550
test eax, eax
jne 0x41a6dc
lea ebx, [esi + 8]
lea ecx, [esp + 0x2c]
push ebx
push str.HttpGet::Read.__HttpConnect_failed:
push ecx
call fcn.004a9edc
push eax
mov byte [esp + 0x3c], 3
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x2c]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
push 0x4ef6b0
mov ecx, ebx
call fcn.004a7309
cmp eax, 0xffffffff
jne 0x41a98f
mov eax, dword [esi + 0x2d4]
mov ecx, esi
test eax, eax
je 0x41a6cb
call fcn.0041c430
mov dword [esi + 0x44], 0
jmp 0x41a94f
call fcn.004b76c4
mov dword [esi + 0x44], 0
jmp 0x41a94f
push str.HttpGet::Read_after_Connect.__Reading_content
lea ecx, [esp + 0x24]
call fcn.004a9c8d
lea edx, [esp + 0x20]
mov byte [esp + 0x38], 5
push edx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test ebp, ebp
mov ebx, eax
jle 0x41a907
mov eax, dword [0x4ff9a8]
test eax, eax
jne 0x41aaa9
mov eax, dword [esp + 0x40]
push ebp
add edi, eax
mov ecx, esi
push edi
call fcn.0041b1f0
mov edi, eax
test edi, edi
jne 0x41a763
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x2c8]
sub eax, ebx
cmp eax, ecx
ja 0x41a84e
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x41a7a7
push 0x37
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41a796
jl 0x41a8b7
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x41a8b7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x2c0]
mov ecx, dword [esp + 0x44]
add edx, edi
add ecx, edi
mov ebx, eax
mov dword [esi + 0x2c0], edx
mov dword [esp + 0x44], ecx
sub ebp, edi
mov edi, dword [esp + 0x44]
test ebp, ebp
jg 0x41a71a
jmp 0x41a907
mov eax, dword [0x4ff9a8]
test eax, eax
jne 0x41aaa9
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add ecx, edx
push ebp
push ecx
mov ecx, esi
call fcn.0041b1f0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x3e8
ja 0x41a7dc
test edi, edi
je 0x41a7a7
xor ebx, ebx
cmp edi, ebx
jle 0x41a7ee
mov ecx, dword [esp + 0x44]
add ecx, edi
sub ebp, edi
mov dword [esp + 0x44], ecx
push str.HttpGet::Read.__PEERCLOSE_while_reading_content
lea ecx, [esp + 0x28]
call fcn.004a9c8d
lea eax, [esp + 0x24]
mov byte [esp + 0x38], 7
push eax
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
mov eax, dword [esi + 0x2d4]
mov ecx, esi
cmp eax, ebx
je 0x41a82f
call fcn.0041c430
jmp 0x41a834
call fcn.004b76c4
mov dword [esi + 0x44], ebx
mov dword [esi + 0x2c0], ebx
mov dword [esi + 0x2b8], ebx
mov dword [esi + 0x2bc], ebx
jmp 0x41a903
push str.HttpGet::Read__Timed_Out_
lea ecx, [esp + 0x2c]
call fcn.004a9c8d
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 6
push ecx
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x28]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
mov edx, dword [esi + 0x2cc]
mov eax, dword [esp + 0x14]
dec edx
cmp eax, edx
jl 0x41a897
push 0x274c
mov ecx, esi
call fcn.0041ab60
mov ecx, esi
call fcn.004b76c4
xor eax, eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x2c0], eax
mov dword [esi + 0x2b8], eax
mov dword [esi + 0x2bc], eax
jmp 0x41a903
push edi
lea eax, [esp + 0x14]
push str.HttpGet::Read.__ERROR_reading_content.__n_d
push eax
call fcn.004a768f
lea ecx, [esp + 0x1c]
push ecx
call fcn.0045db50
mov eax, dword [esi + 0x2d4]
xor edi, edi
add esp, 0x10
cmp eax, edi
mov ecx, esi
je 0x41a8e9
call fcn.0041c430
jmp 0x41a8ee
call fcn.004b76c4
mov dword [esi + 0x44], edi
mov dword [esi + 0x2c0], edi
mov dword [esi + 0x2b8], edi
mov dword [esi + 0x2bc], edi
mov edi, dword [esp + 0x44]
mov edx, dword [0x4f5b3c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
push ebp
push edi
push str.HttpGet::Read.__Read:_d__remaining:_d__nRetries:_d
push ecx
mov byte [esp + 0x4c], 8
call fcn.004a768f
lea edx, [esp + 0x2c]
push edx
call fcn.0045db50
add esp, 0x18
mov byte [esp + 0x38], 0
test ebp, ebp
lea ecx, [esp + 0x18]
je 0x41a9fb
call fcn.004a9c1f
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x2cc]
cmp eax, ecx
jl 0x41a5cd
xor ebx, ebx
cmp ebp, ebx
je 0x41aa02
push 3
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.004a9994
lea ecx, [esi + 8]
mov byte [esp + 0x40], 9
push ecx
mov edx, esp
mov dword [esp + 0x50], esp
jmp 0x41a9c9
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x3c], 1
call dword [edx + 0x10]
push 3
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov dword [0x4feef0], 0xc5
call fcn.004a9994
lea ecx, [esi + 8]
mov byte [esp + 0x40], 4
push ecx
mov edx, esp
mov dword [esp + 0x50], esp
push ecx
push str.Http_Error:
push edx
call fcn.004a9edc
mov ecx, esi
mov byte [esp + 0x44], 0
call fcn.00419ab0
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9c1f
mov eax, esi
jmp 0x41aabc
call fcn.004a9c1f
xor ebx, ebx
cmp edi, 0x12c
jge 0x41aa84
mov eax, dword [esi + 0x2b0]
cmp eax, 0x32
jge 0x41aa84
lea edx, [eax + eax*2 + 0x18]
lea ecx, [edi + 1]
push ecx
mov eax, dword [esi + edx*4]
push eax
call fcn.0047582f
mov ecx, dword [esi + 0x2b0]
add esp, 8
add ecx, 8
lea ecx, [ecx + ecx*2]
mov dword [esi + ecx*4], eax
mov eax, dword [esi + 0x2b0]
add eax, 8
lea edx, [eax + eax*2]
mov eax, dword [esi + edx*4]
cmp eax, ebx
je 0x41aa84
mov ecx, dword [esp + 0x40]
push edi
push ecx
push eax
call fcn.00475970
mov eax, dword [esi + 0x2b0]
add esp, 0xc
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x50]
mov dword [esi + edx*4 + 0x58], eax
mov eax, dword [esi + 0x2b0]
lea ecx, [eax + eax*2]
mov dword [esi + ecx*4 + 0x5c], edi
mov eax, dword [esi + 0x2b0]
inc eax
mov dword [esi + 0x2b0], eax
mov ecx, dword [esi + 0x50]
push ebx
add ecx, edi
mov dword [esi + 0x50], ecx
mov ecx, esi
call fcn.0041ab60
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9c1f
mov eax, edi
jmp 0x41aabc
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 8