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

Disassembly:
push 0xffffffffffffffff
push 0x488b16
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4b2098]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b2098]
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.0044ba29
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41b6cc
push 0x80004005
call fcn.00401000
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 0x41b6f3
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 0x41b725
cmp dword [esp + 0x1c], 0
jne 0x41ba44
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [0x4b0460]
mov dword [esp + 0x30], eax
jge 0x41bbed
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x86c]
lea esi, [ecx + edx]
call fcn.0044ba29
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41b6c2
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 0x41b78f
push esi
lea ecx, [esp + 0x1c]
push str.Range:bytes_ld_
push ecx
call fcn.004019b0
mov ebx, dword [esp + 0x24]
add esp, 0xc
test edi, edi
je 0x41b79a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x1c], 0
je 0x41b7ac
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4b3784]
inc eax
push eax
mov dword [0x4b3784], eax
lea eax, [esp + 0x38]
push str.down_d
xor edi, edi
push eax
mov dword [esp + 0x28], edi
call fcn.004019b0
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x20]
push edx
call fcn.0041b370
cmp dword [esp + 0x1c], edi
jne 0x41b82c
cmp byte [esp + 0x87c], 0
jne 0x41bc0c
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 0x41b716
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41b716
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.0041af10
mov edi, eax
test edi, edi
jne 0x41b85e
cmp byte [esp + 0x87c], al
jne 0x41bc41
jmp 0x41b7f7
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 0x41b8cf
lea eax, [esp + 0x4c]
push eax
call fcn.00467fac
add esp, 4
cmp eax, 0xce
je 0x41b8cf
lea ecx, [esp + 0x4c]
push ecx
call fcn.00467fac
add esp, 4
test eax, eax
je 0x41b8cf
cmp esi, 0x400
mov eax, esi
jle 0x41b8b3
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 0x41b8a4
test ebp, ebp
jg 0x41ba1c
lea ecx, [esp + 0x4c]
push ecx
call fcn.00467fac
add esp, 4
cmp eax, 0x194
je 0x41bc39
lea edx, [esp + 0x4c]
push edx
call fcn.00467fac
add esp, 4
cmp eax, 0xc8
je 0x41b91b
lea eax, [esp + 0x4c]
push eax
call fcn.00467fac
add esp, 4
cmp eax, 0xce
jne 0x41bc5b
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.00467fac
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 0x40e
push ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x888], ebp
call ebx
mov edx, dword [esp + 0x24]
push ebp
push esi
push 0x423
push edx
call ebx
mov eax, dword [esp + 0x24]
push 1
push esi
push 0x410
push eax
call ebx
cmp dword [0x4b045c], 1
je 0x41ba14
push 0x800
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x20], 0x400
call fcn.00467da0
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.00402410
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00403c20
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 0x41ba06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41ba14
mov dword [0x4b045c], 1
test ebp, ebp
jle 0x41bc76
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 0x41ba44
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.0041d4b0
add esp, 8
test eax, eax
setne al
test al, al
jne 0x41bbaa
test ebp, ebp
jle 0x41bbaa
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
lea ebx, [ebx]
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 0x41baf9
cmp esi, ebp
je 0x41baf9
test esi, esi
ja 0x41bbed
cmp byte [esp + 0x87c], 0
jne 0x41bb01
cmp dword [esp + 0x18], 3
jne 0x41bae9
test edi, edi
je 0x41bad2
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x41bae1
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 0x41ba80
jmp 0x41bb01
mov dword [esp + 0x30], 0
test edi, edi
je 0x41bbda
test ebx, ebx
je 0x41bbda
xor al, al
test esi, esi
ja 0x41bb19
mov al, 1
cmp dword [esp + 0x18], 4
jl 0x41bb22
mov al, 1
cmp esi, ebp
je 0x41bb32
cmp esi, 0x400
jne 0x41bcac
test al, al
jne 0x41bcac
cmp dword [esp + 0x44], 0
je 0x41bbaa
cmp esi, ebp
jb 0x41bb47
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.0041b000
sub ebp, dword [esp + 0x14]
push ebx
push 0xe0001
call fcn.0041d4b0
add esp, 8
test eax, eax
setne al
test al, al
je 0x41b716
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x30]
call edx
mov ebx, dword [esp + 0x3c]
mov ecx, eax
mov eax, ebx
mov esi, edx
cdq
cmp ecx, eax
jne 0x41bcc8
cmp esi, edx
jne 0x41bcc8
mov eax, 1
jmp 0x41bcca
cmp byte [esp + 0x87c], 0
je 0x41b716
jmp 0x41bcdc
mov ecx, dword [esp + 0x874]
push 0x270f
push ecx
push 0xe0001
call fcn.0041d580
add esp, 0xc
jmp 0x41bcdc
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 0x41bcdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41bcdc
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 0x41bc24
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
mov byte [esp + 0x858], 0
call fcn.00401310
jmp 0x41bcdc
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 0x41bd24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41bd24
mov edx, dword [esp + 0x874]
push 0x270f
push edx
push 0xe0001
call fcn.0041d580
add esp, 0xc
jmp 0x41bcdc
xor eax, eax
mov dword [esp + 0x20], eax
test ebx, ebx
jne 0x41bcd8
mov dword [esp + 0x20], ebx
jmp 0x41bcdc
test eax, eax
jne 0x41bd24
mov esi, dword [esp + 0x874]
push 0x270f
push esi
push 0xe0001
call fcn.0041d580
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.0041b000
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test edi, edi
je 0x41bd3a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41bd49
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 0x41bd74
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.00467b90
add esp, 0x848
ret 0x28