Function at 0x41e5c0
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x4854e6
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4ace78]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ace78]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
mov eax, dword [esp + 0x860]
mov edx, dword [esp + 0x884]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x864]
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], edx
call fcn.0044ba42
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e63c
push 0x80004005
call fcn.00401280
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
cmp dword [esp + 0x86c], edi
mov dword [esp + 0x858], edi
jge 0x41e663
mov dword [esp + 0x86c], edi
mov ebp, dword [esp + 0x870]
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], 0x400
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], edi
test edi, edi
je 0x41e695
cmp dword [esp + 0x1c], 0
jne 0x41e9ad
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 0x10
mov dword [esp + 0x30], eax
jge 0x41eb51
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x86c]
lea esi, [ecx + edx]
call fcn.0044ba42
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41e632
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x858], 1
test esi, esi
jle 0x41e6fc
push esi
lea ecx, [esp + 0x1c]
push str.Range:bytes_ld_
push ecx
call fcn.00403ae0
mov ebx, dword [esp + 0x24]
add esp, 0xc
test edi, edi
je 0x41e707
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x1c], 0
je 0x41e719
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4ae334]
inc eax
push eax
mov dword [0x4ae334], eax
lea eax, [esp + 0x38]
push str.down_d
xor edi, edi
push eax
mov dword [esp + 0x28], edi
call fcn.00403ae0
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x20]
push edx
call fcn.0041e2e0
cmp dword [esp + 0x1c], edi
jne 0x41e799
cmp byte [esp + 0x87c], 0
jne 0x41eb70
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebx - 0x10]
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e686
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41e686
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
push 0
push 0x84000100
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push edx
call fcn.0041df80
mov edi, eax
test edi, edi
jne 0x41e7cb
cmp byte [esp + 0x87c], al
jne 0x41eba5
jmp 0x41e764
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
push 0x13
push edi
mov dword [esp + 0x28], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test esi, esi
jle 0x41e83c
lea eax, [esp + 0x4c]
push eax
call fcn.0046c04c
add esp, 4
cmp eax, 0xce
je 0x41e83c
lea ecx, [esp + 0x4c]
push ecx
call fcn.0046c04c
add esp, 4
test eax, eax
je 0x41e83c
cmp esi, 0x400
mov eax, esi
jle 0x41e820
mov eax, 0x400
lea edx, [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
sub esi, 0x400
test esi, esi
jg 0x41e811
test ebp, ebp
jg 0x41e985
lea ecx, [esp + 0x4c]
push ecx
call fcn.0046c04c
add esp, 4
cmp eax, 0x194
je 0x41eb9d
lea edx, [esp + 0x4c]
push edx
call fcn.0046c04c
add esp, 4
cmp eax, 0xc8
je 0x41e888
lea eax, [esp + 0x4c]
push eax
call fcn.0046c04c
add esp, 4
cmp eax, 0xce
jne 0x41ebbf
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x54]
push edx
push 5
push edi
mov dword [esp + 0x28], 0x400
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [esp + 0x4c]
push eax
call fcn.0046c04c
mov esi, dword [esp + 0x884]
mov ecx, dword [esp + 0x28]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 4
mov ebp, eax
push ebp
push esi
push 0x414
push ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x888], ebp
call ebx
mov edx, dword [esp + 0x24]
push ebp
push esi
push 0x42d
push edx
call ebx
mov eax, dword [esp + 0x24]
push 1
push esi
push 0x416
push eax
call ebx
cmp dword [0x4ab384], 1
je 0x41e97d
push 0x800
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x20], 0x400
call fcn.0046be40
add esp, 0xc
push 0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x54]
push eax
push 0x25
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push str.qupdater2.xx
lea ecx, [esp + 0x4c]
call fcn.00401ba0
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00408870
mov bl, al
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e96f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41e97d
mov dword [0x4ab384], 1
test ebp, ebp
jle 0x41ebda
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e9ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x874]
push ecx
push 0xe0001
call fcn.00421600
add esp, 8
test eax, eax
setne al
test al, al
jne 0x41eb0d
test ebp, ebp
jle 0x41eb0d
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x54]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x44], eax
cmp esi, 0x400
je 0x41ea5c
cmp esi, ebp
je 0x41ea5c
test esi, esi
ja 0x41eb51
cmp byte [esp + 0x87c], 0
jne 0x41ea64
cmp dword [esp + 0x18], 3
jne 0x41ea4c
test edi, edi
je 0x41ea35
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x41ea44
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x41e9e3
jmp 0x41ea64
mov dword [esp + 0x30], 0
test edi, edi
je 0x41eb3e
test ebx, ebx
je 0x41eb3e
xor al, al
test esi, esi
ja 0x41ea7c
mov al, 1
cmp dword [esp + 0x18], 4
jl 0x41ea85
mov al, 1
cmp esi, ebp
je 0x41ea95
cmp esi, 0x400
jne 0x41ec0c
test al, al
jne 0x41ec0c
cmp dword [esp + 0x44], 0
je 0x41eb0d
cmp esi, ebp
jb 0x41eaaa
mov esi, ebp
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add dword [esp + 0x28], esi
push esi
lea eax, [esp + 0x50]
push eax
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x868]
mov edx, dword [esp + 0x880]
mov ebx, dword [esp + 0x874]
push eax
mov eax, dword [esp + 0x87c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ebx
push esi
call fcn.0041de40
sub ebp, dword [esp + 0x14]
push ebx
push 0xe0001
call fcn.00421600
add esp, 8
test eax, eax
setne al
test al, al
je 0x41e686
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ecx, eax
mov eax, dword [esp + 0x3c]
mov esi, edx
cdq
cmp ecx, eax
jne 0x41ec28
cmp esi, edx
jne 0x41ec28
mov dword [esp + 0x20], 1
jmp 0x41ec78
cmp byte [esp + 0x87c], 0
je 0x41e686
jmp 0x41ec30
mov ecx, dword [esp + 0x874]
push 0x270f
push ecx
push 0xe0001
call fcn.004216d0
add esp, 0xc
jmp 0x41ec30
lea eax, [ebx - 0x10]
mov byte [esp + 0x858], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ec30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ec30
mov dword [esp + 0x20], 0
lea eax, [ebx - 0x10]
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x41eb88
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
mov byte [esp + 0x858], 0
call fcn.00401550
jmp 0x41ec30
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x20], 1
mov byte [esp + 0x858], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ec78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ec78
mov edx, dword [esp + 0x874]
push 0x270f
push edx
push 0xe0001
call fcn.004216d0
add esp, 0xc
jmp 0x41ec30
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x874]
push 0x270f
push esi
push 0xe0001
call fcn.004216d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x874]
mov edx, dword [esp + 0x88c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x87c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0x38]
push esi
neg eax
push eax
call fcn.0041de40
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test edi, edi
je 0x41ec8e
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41ec9d
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x858], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ecc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0046b9a8
add esp, 0x848
ret 0x28