Function at 0x44c990
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4cf850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, dword [esp + 0x40]
mov eax, dword [ebp + 0x44]
push esi
lea esi, [ebp + 0x44]
sub eax, 0x10
xor ebx, ebx
mov dword [esp + 0x14], 0xff
mov byte [esp + 0xf], bl
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, 1
sub ecx, edx
sub eax, 0xff
or eax, ecx
push edi
jge 0x44c9e9
push 0xff
mov ecx, esi
call fcn.00403c80
mov eax, dword [esi]
mov edi, dword [esp + 0x4c]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0x14
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x44ca09
mov dword [esp + 0x18], eax
jmp 0x44ca0d
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
jne 0x44ca25
mov eax, dword [esi]
cmp eax, ebx
jne 0x44ca1c
xor eax, eax
jmp 0x44ca2d
push eax
call fcn.004ac8fd
add esp, 4
cmp eax, ebx
jl 0x44ce5f
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x44ce5f
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov word [edx + eax*2], bx
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x44ce4a
mov ecx, dword [ebp + 0x4c]
cmp ecx, ebx
je 0x44ca59
mov edx, dword [ecx]
push 1
call dword [edx]
push 0x14
call fcn.004be8d8
add esp, 4
cmp eax, ebx
je 0x44ca7b
mov dword [eax], 0x4db048
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
jmp 0x44ca7d
xor eax, eax
push ebx
mov dword [ebp + 0x4c], eax
push ebx
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x44cb38
jmp 0x44caa0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jbe 0x44cb44
cmp dword [ebp + 0x2c], ebx
jne 0x44cb3c
mov esi, dword [ebp + 0x4c]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
sub edx, ecx
cmp edx, eax
jae 0x44cae7
lea eax, [ecx + eax + 0x3ff]
and eax, 0xfffffc00
push eax
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
push eax
call fcn.004ac40b
mov dword [esi + 8], eax
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [ebp + 0x4c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [ecx + 8]
push eax
mov eax, dword [ecx + 0xc]
add eax, edx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44cb38
mov eax, dword [ebp + 0x4c]
mov edx, dword [eax + 0xc]
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jbe 0x44cb22
mov edx, dword [ebp + 0x4c]
cmp dword [edx + 0xc], eax
ja 0x44cb38
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x44caa0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
ja 0x44ce4a
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1b]
push edx
push 0x15
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44ce4a
lea eax, [eax + eax + 2]
push eax
call fcn.004be903
mov edx, dword [esp + 0x50]
add esp, 4
push ebx
mov edi, eax
lea ecx, [esp + 0x1c]
push ecx
push edi
push 0x15
push edx
mov dword [esp + 0x3c], edi
mov word [edi + 2], bx
mov word [edi], bx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp word [edi], bx
mov esi, edi
je 0x44ce1d
jmp 0x44cbb0
mov esi, dword [esp + 0x2c]
jmp 0x44cbb0
push esi
lea ecx, [esp + 0x28]
call fcn.004040b0
mov dword [esp + 0x40], ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
lea edx, [esi + eax*2 + 2]
mov dword [esp + 0x2c], edx
jle 0x44cdea
push 0x3a
push ecx
call fcn.004ac9c0
add esp, 8
cmp eax, ebx
je 0x44cdea
sub eax, dword [esp + 0x24]
sar eax, 1
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x30], esi
jle 0x44cdea
call fcn.004be803
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 1
call fcn.00405820
lea ebx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.00403520
mov ebx, eax
call fcn.004035a0
mov eax, dword [esp + 0x14]
cmp dword [eax - 4], 1
jle 0x44cc53
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00403bd0
mov eax, dword [esp + 0x14]
push eax
call dword [0x5066e8]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x44cc66
xor eax, eax
jmp 0x44cc7b
push ecx
call fcn.004ac8fd
add esp, 4
test eax, eax
jl 0x44ce5f
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx - 8]
jg 0x44ce5f
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x14]
mov word [edx + eax*2], 0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
add ebp, 0x50
push ecx
mov ecx, ebp
call fcn.004be374
test eax, eax
je 0x44cd1c
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 4]
mov edi, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x44ccdb
push esi
lea ecx, [esp + 0x18]
call fcn.00403c80
mov edx, dword [esp + 0x14]
test esi, esi
mov word [edx + edi*2], 0x5f
jl 0x44ce5f
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x44ce5f
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
mov word [edx + esi*2], 0
mov ecx, dword [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.004be374
test eax, eax
jne 0x44ccb0
mov esi, dword [esp + 0x30]
inc esi
push esi
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
call fcn.00403490
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.00403e70
mov byte [esp + 0x40], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cd5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ebx, [esp + 0x20]
call fcn.00403520
mov ebx, eax
call fcn.004035a0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
push eax
mov ecx, ebp
call fcn.004be436
test esi, esi
mov edi, eax
jne 0x44cd88
xor eax, eax
jmp 0x44cd91
push esi
call fcn.004ac8fd
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00403ee0
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cdbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x40], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cde0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44ce10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
cmp word [eax], bx
jne 0x44cba3
push edi
call fcn.004be908
mov edx, dword [esp + 0x50]
add esp, 4
push ebx
lea ecx, [esp + 0x1c]
push ecx
lea eax, [ebp + 0x40]
push eax
push 0x20000013
push edx
mov dword [esp + 0x2c], 4
mov dword [eax], ebx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
push 0x80070057
call fcn.00403b70
int3