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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c29f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x180
mov dword [ebp - 0x34], 0
mov eax, dword [0x83f084]
mov ecx, dword [0x83f0d0]
push esi
mov esi, dword [0x83f07c]
shl eax, 0xa
mov dword [ebp - 0x54], eax
mov eax, dword [str.DesktopInstaller]
shl esi, 0xa
cmp byte [0xa902b2], 0
push edi
mov dword [ebp - 0x2c], eax
je 0x49e3be
cmp byte [0x8f028c], 0
je 0x49e3be
test cl, cl
je 0x49e4f8
cmp cl, 6
jb 0x49e4f8
shr ecx, 8
cmp cl, 5
jb 0x49e4f8
jmp 0x49e3c6
test cl, cl
je 0x49e4f8
mov dword [ebp - 0x1c], 0xf9170d
mov edi, dword [ebp - 0x1c]
push 0
sub edi, 0x836b95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0056bc00
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x49e409
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [0x83f0d0]
mov edx, edi
mov dword [ebp - 0x28], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x4c], eax
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x49e420
mov eax, dword [ebp - 0x1c]
sub edx, ecx
mov dword [ebp - 0x18], eax
cmp dword [eax + 0x14], 0x10
jb 0x49e43a
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
push 1
sub esp, 0x10
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x94], eax
mov eax, esp
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0xa8]
push edx
push edi
push 5
push dword [ebp - 0x4c]
mov dword [ebp - 0x98], esi
push dword [ebp - 0x28]
mov dword [eax], 0x2dc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.00513f20
mov edx, dword [ebp - 0xcc]
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x49e4dd
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49e4d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ebec
push edx
push ecx
call fcn.00512900
add esp, 8
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
push 1
lea ecx, [ebp - 0x190]
call fcn.00499aa0
xor eax, eax
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x49e584
cmp esi, 0x7fffffff
ja 0x49ebf1
cmp esi, 0x1000
jb 0x49e55b
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x49ebf6
push eax
call fcn.00512870
add esp, 4
test eax, eax
je 0x49ec00
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x49e566
push esi
call fcn.00512870
add esp, 4
mov edi, eax
push esi
lea eax, [esi + edi]
mov dword [ebp - 0x44], edi
push 0
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x3c], eax
call fcn.007012e0
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x40], eax
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x49e8f8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x49e942
cmp esi, eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
cmovb eax, esi
push eax
push edi
push dword [ebx + 8]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x49e8c2
cmp byte [0xa902b2], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x83f0d0]
mov dword [ebp - 0x2c], eax
je 0x49e620
cmp byte [0x8f028c], 0
je 0x49e620
test cl, cl
je 0x49e771
cmp cl, 6
jb 0x49e771
shr ecx, 8
cmp cl, 2
jb 0x49e771
jmp 0x49e628
test cl, cl
je 0x49e771
mov dword [ebp - 0x28], 0x102dfe4
mov edi, dword [ebp - 0x28]
push 0
sub edi, 0x8d33cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0056bc00
add esp, 0xc
mov edx, eax
mov eax, dword [ebx + 0xc]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], eax
cmp dword [eax + 0x14], 0x10
jb 0x49e667
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x83f0d0]
mov ecx, edi
mov dword [ebp - 0x30], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49e680
sub ecx, dword [ebp - 0x28]
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x1c], edx
jb 0x49e698
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xc8], edx
mov edx, dword [ebp - 0x34]
push 1
mov dword [ebp - 0xc4], edx
sub esp, 0x10
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc0], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xac], eax
mov eax, esp
mov dword [ebp - 0xbc], edx
mov edx, dword [ebp - 0x48]
push ecx
mov dword [ebp - 0xb8], edx
mov edx, dword [ebp - 0x34]
push edi
mov dword [ebp - 0xb4], edx
mov edx, dword [ebp - 0x1c]
push 2
push dword [ebp - 0x50]
mov dword [ebp - 0xb0], edx
lea edx, [ebp - 0xc8]
push dword [ebp - 0x30]
mov dword [eax], 0xd2c2
mov dword [eax + 4], 0
mov dword [eax + 8], edx
call fcn.00513f20
mov edx, dword [ebp - 0xe4]
add esp, 0x28
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x49e74d
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49e743
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ebec
push edx
push ecx
call fcn.00512900
add esp, 8
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x49eb24
cmp esi, dword [ebp - 0x54]
jae 0x49eb24
mov ecx, dword [ebp - 0x18]
add esi, esi
mov edx, ecx
mov dword [ebp - 0x2c], esi
sub edx, edi
cmp esi, edx
jae 0x49e7a4
lea eax, [edi + esi]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x40], eax
jmp 0x49e7e3
jbe 0x49e7e3
mov eax, dword [ebp - 0x3c]
sub eax, edi
cmp esi, eax
jbe 0x49e7c7
lea eax, [ebp - 0x11]
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.004991b0
mov eax, dword [ebp - 0x40]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x49e7e3
sub esi, edx
push esi
push 0
push ecx
call fcn.007012e0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
add ecx, esi
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x40], ecx
cmp byte [0xa902b2], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x83f0d0]
mov dword [ebp - 0x2c], eax
je 0x49e822
cmp byte [0x8f028c], 0
je 0x49e822
test cl, cl
je 0x49e8d8
cmp cl, 6
jb 0x49e8d8
shr ecx, 8
cmp cl, 3
jb 0x49e8d8
jmp 0x49e82a
test cl, cl
je 0x49e8d8
mov eax, dword [ebx + 0xc]
mov edi, eax
mov dword [ebp - 0x2c], 0x1056d7e
mov edx, dword [ebp - 0x2c]
sub edx, 0x8fc112
cmp dword [eax + 0x14], 0x10
jb 0x49e847
mov edi, dword [eax]
mov eax, dword [0x83f0d0]
mov ecx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x50], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49e860
mov eax, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x2c]
push 1
sub esp, 0x10
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
mov eax, esp
mov dword [ebp - 0x90], edi
lea edi, [ebp - 0x90]
push ecx
push edx
push 3
push dword [ebp - 0x50]
mov dword [ebp - 0x88], esi
push dword [ebp - 0x28]
mov dword [eax], 0x2c
mov dword [eax + 4], 0
mov dword [eax + 8], edi
call fcn.00513f20
mov eax, dword [ebp - 0x40]
add esp, 0x28
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
jmp 0x49e8d8
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x49e942
push 0
push eax
push edi
lea ecx, [ebp - 0x190]
call fcn.0049f470
push 0
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x49e5b0
cmp byte [0xa902b2], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x83f0d0]
mov dword [ebp - 0x54], eax
je 0x49ea33
cmp byte [0x8f028c], 0
je 0x49ea33
test cl, cl
je 0x49eb24
cmp cl, 6
jb 0x49eb24
shr ecx, 8
cmp cl, 2
jb 0x49eb24
jmp 0x49ea3b
mov edx, dword [ebp - 0x150]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x80], 0
and al, 0x22
mov byte [ebp - 4], 5
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x34], 2
movq qword [ebp - 0x64], xmm0
mov dword [ebp - 0x5c], 0
cmp al, 2
je 0x49e9a8
mov eax, dword [ebp - 0x16c]
mov ecx, dword [eax]
test ecx, ecx
je 0x49e9a8
mov eax, dword [ebp - 0x17c]
cmp ecx, dword [ebp - 0x154]
cmovb ecx, dword [ebp - 0x154]
mov edx, dword [eax]
sub ecx, edx
jmp 0x49e9d5
test dl, 4
jne 0x49e9cf
mov eax, dword [ebp - 0x170]
mov esi, dword [eax]
test esi, esi
je 0x49e9cf
mov eax, dword [ebp - 0x180]
mov edx, dword [eax]
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax]
sub ecx, edx
add ecx, esi
jmp 0x49e9d5
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x49e9e3
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.00483e90
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 4], 2
call fcn.004822a0
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x49ea2a
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49ea20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ec00
push edx
push ecx
call fcn.00512900
add esp, 8
mov byte [ebp - 0x11], 1
jmp 0x49eb28
test cl, cl
je 0x49eb24
mov dword [ebp - 0x34], 0xfdc510
mov edi, dword [ebp - 0x34]
push 0
sub edi, 0x881940
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0056bc00
add esp, 0xc
mov ecx, eax
mov esi, dword [ebx + 0xc]
mov byte [ebp - 4], 3
cmp dword [esi + 0x14], 0x10
jb 0x49ea71
mov esi, dword [esi]
mov eax, dword [0x83f0d0]
mov edx, edi
mov dword [ebp - 0x30], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x54], eax
lea eax, [edx + 1]
mov dword [ebp - 0x34], eax
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x49ea90
sub edx, dword [ebp - 0x34]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x1c], ecx
jb 0x49eaa8
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ecx + 0x10]
push 1
sub esp, 0x10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov eax, esp
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x68]
push edx
push edi
push 2
push dword [ebp - 0x54]
mov dword [ebp - 0x68], esi
push dword [ebp - 0x30]
mov dword [eax], 0xdc
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
call fcn.00513f20
mov edx, dword [ebp - 0x6c]
add esp, 0x28
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x49eb21
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49eb17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ebfb
push edx
push ecx
call fcn.00512900
add esp, 8
mov edi, dword [ebp - 0x44]
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
test edi, edi
je 0x49eb5d
mov ecx, dword [ebp - 0x3c]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x49eb53
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x49ec00
push ecx
push edi
call fcn.00512900
add esp, 8
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x190], 0x75a704
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x194], eax
lea ecx, [ebp - 0x18c]
call fcn.0049a640
mov eax, dword [ebp - 0x190]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x190], 0x75a674
mov eax, dword [ebp - 0x190]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0x194], ecx
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 6
push eax
mov dword [ebp - 0x140], 0x75a5ec
call fcn.006eac65
mov al, byte [ebp - 0x11]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0070b6e4
call fcn.00492e80
call fcn.00483bc0
call fcn.0070b6e4
call fcn.0070b6e4
int3