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

Disassembly:
push 0xffffffffffffffff
push 0x487946
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4afe78]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4afe78]
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.0044dc57
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41ee2c
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 0x41ee53
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 0x41ee85
cmp dword [esp + 0x1c], 0
jne 0x41f1a4
mov eax, dword [esp + 0x30]
inc eax
cmp eax, dword [0x4ae388]
mov dword [esp + 0x30], eax
jge 0x41f34d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x86c]
lea esi, [ecx + edx]
call fcn.0044dc57
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41ee22
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 0x41eeef
push esi
lea ecx, [esp + 0x1c]
push str.Range:bytes_ld_
push ecx
call fcn.00403ac0
mov ebx, dword [esp + 0x24]
add esp, 0xc
test edi, edi
je 0x41eefa
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [esp + 0x1c], 0
je 0x41ef0c
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [0x4b1354]
inc eax
push eax
mov dword [0x4b1354], eax
lea eax, [esp + 0x38]
push str.down_d
xor edi, edi
push eax
mov dword [esp + 0x28], edi
call fcn.00403ac0
mov ecx, dword [esp + 0x40]
add esp, 0xc
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x20]
push edx
call fcn.0041ead0
cmp dword [esp + 0x1c], edi
jne 0x41ef8c
cmp byte [esp + 0x87c], 0
jne 0x41f36c
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 0x41ee76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41ee76
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.0041e770
mov edi, eax
test edi, edi
jne 0x41efbe
cmp byte [esp + 0x87c], al
jne 0x41f3a1
jmp 0x41ef57
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 0x41f02f
lea eax, [esp + 0x4c]
push eax
call fcn.0046e2cc
add esp, 4
cmp eax, 0xce
je 0x41f02f
lea ecx, [esp + 0x4c]
push ecx
call fcn.0046e2cc
add esp, 4
test eax, eax
je 0x41f02f
cmp esi, 0x400
mov eax, esi
jle 0x41f013
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 0x41f004
test ebp, ebp
jg 0x41f17c
lea ecx, [esp + 0x4c]
push ecx
call fcn.0046e2cc
add esp, 4
cmp eax, 0x194
je 0x41f399
lea edx, [esp + 0x4c]
push edx
call fcn.0046e2cc
add esp, 4
cmp eax, 0xc8
je 0x41f07b
lea eax, [esp + 0x4c]
push eax
call fcn.0046e2cc
add esp, 4
cmp eax, 0xce
jne 0x41f3bb
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.0046e2cc
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 [0x4ae384], 1
je 0x41f174
push 0x800
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x20], 0x400
call fcn.0046e0a0
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.00401bd0
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.00408920
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 0x41f166
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41f174
mov dword [0x4ae384], 1
test ebp, ebp
jle 0x41f3d6
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 0x41f1a4
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.00421e30
add esp, 8
test eax, eax
setne al
test al, al
jne 0x41f30a
test ebp, ebp
jle 0x41f30a
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 0x41f259
cmp esi, ebp
je 0x41f259
test esi, esi
ja 0x41f34d
cmp byte [esp + 0x87c], 0
jne 0x41f261
cmp dword [esp + 0x18], 3
jne 0x41f249
test edi, edi
je 0x41f232
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x41f241
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 0x41f1e0
jmp 0x41f261
mov dword [esp + 0x30], 0
test edi, edi
je 0x41f33a
test ebx, ebx
je 0x41f33a
xor al, al
test esi, esi
ja 0x41f279
mov al, 1
cmp dword [esp + 0x18], 4
jl 0x41f282
mov al, 1
cmp esi, ebp
je 0x41f292
cmp esi, 0x400
jne 0x41f40c
test al, al
jne 0x41f40c
cmp dword [esp + 0x44], 0
je 0x41f30a
cmp esi, ebp
jb 0x41f2a7
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.0041e520
sub ebp, dword [esp + 0x14]
push ebx
push 0xe0001
call fcn.00421e30
add esp, 8
test eax, eax
setne al
test al, al
je 0x41ee76
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 0x41f428
cmp esi, edx
jne 0x41f428
mov eax, 1
jmp 0x41f42a
cmp byte [esp + 0x87c], 0
je 0x41ee76
jmp 0x41f43c
mov ecx, dword [esp + 0x874]
push 0x270f
push ecx
push 0xe0001
call fcn.00421f00
add esp, 0xc
jmp 0x41f43c
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 0x41f43c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f43c
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 0x41f384
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 0
mov byte [esp + 0x858], 0
call fcn.00401580
jmp 0x41f43c
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 0x41f484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41f484
mov edx, dword [esp + 0x874]
push 0x270f
push edx
push 0xe0001
call fcn.00421f00
add esp, 0xc
jmp 0x41f43c
xor eax, eax
mov dword [esp + 0x20], eax
test ebx, ebx
jne 0x41f438
mov dword [esp + 0x20], ebx
jmp 0x41f43c
test eax, eax
jne 0x41f484
mov esi, dword [esp + 0x874]
push 0x270f
push esi
push 0xe0001
call fcn.00421f00
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.0041e520
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test edi, edi
je 0x41f49a
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41f4a9
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 0x41f4d4
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.0046dc02
add esp, 0x848
ret 0x28