Function at 0x5c5b8d
Capabilities:
Check http status code

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x6bef48
call fcn.00664608
sub esp, 0x548
push ebx
xor ebx, ebx
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x40], ebx
mov byte [ebp + 0x30], bl
mov dword [ebp - 4], ebx
call fcn.0045f11a
xor ecx, ecx
test al, al
push ebx
lea eax, [ebp + 0x18]
setne cl
push 0x722ba0
push eax
mov dword [ebp + 0x50], ecx
call fcn.004bfc97
add esp, 0xc
test al, al
jne 0x5c5be6
mov ebx, str.cant_load_wininet.dll
jmp 0x5c5e00
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.0048890d
mov esi, eax
push 0x2f
mov byte [ebp - 4], 1
call fcn.00487ec7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004707e2
push esi
push eax
push dword [ebp + 0x74]
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.0040fef9
lea ecx, [ebp - 0x24]
call fcn.00410858
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00410858
cmp dword [ebp + 0x14], 0x10
lea eax, [ebp]
jb 0x5c5c38
mov eax, dword [ebp]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [ebp + 0x18]
mov ecx, eax
mov dword [ebp + 0x48], ecx
test ecx, ecx
jne 0x5c5c53
mov ebx, str.InternetOpen_failed
jmp 0x5c5df7
push edi
push ebx
push ebx
push 3
mov eax, 0x7526ce
push eax
push eax
push 0x50
push str.update.utorrent.com
push ecx
call dword [ebp + 0x1c]
mov edi, eax
mov dword [ebp + 0x4c], edi
test edi, edi
jne 0x5c5c7d
mov ebx, str.InternetConnect_failed
jmp 0x5c5df0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 1
mov esi, eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00464561
lea ecx, [ebp + 0x30]
cmp ecx, eax
je 0x5c5ca4
mov byte [ebp + 0x54], bl
push dword [ebp + 0x54]
push eax
call fcn.004100a8
lea ecx, [ebp - 0x54]
call fcn.00410858
cmp dword [ebp + 0x44], 0x10
lea ecx, [ebp + 0x30]
jb 0x5c5cb8
mov ecx, dword [ebp + 0x30]
push dword [ebp + 0x50]
movzx eax, byte [ebp + 0x74]
push dword [ebp + 0x78]
push dword [0x791b30]
push dword [ebp + 0x6c]
push eax
push esi
push ecx
call fcn.004889e0
push eax
call fcn.00487f80
push eax
push dword [ebp + 0x7c]
call fcn.005c5eab
push eax
push str._crash.php_cl_sver_dUfull_version_dUh_sp_dUpr_dUs_dUsvp_dov_dplus_d
mov esi, 0x500
lea eax, [ebp - 0x554]
push esi
push eax
call fcn.00450bef
mov ecx, dword [ebp + 0x70]
add esp, 0x34
test ecx, ecx
je 0x5c5d23
cmp byte [ecx], 0
je 0x5c5d23
push ecx
sub esi, eax
lea ecx, [ebp - 0x554]
push str.dl_s
add eax, ecx
push esi
push eax
call fcn.00450bef
add esp, 0x10
mov esi, dword [ebp + 0x68]
mov eax, 0x6d5adc
test esi, esi
jne 0x5c5d34
mov eax, 0x6d5ae4
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x554]
push ecx
push eax
push edi
call dword [ebp + 0x20]
mov edi, eax
test edi, edi
jne 0x5c5d59
mov ebx, str.HttpOpenRequest_failed
jmp 0x5c5dea
mov ecx, str.Content_type:_application_octet_stream
test esi, esi
jne 0x5c5d67
mov ecx, 0x7526ce
mov eax, esi
neg eax
sbb eax, eax
and eax, dword [ebp + 0x6c]
push eax
push esi
push 0xffffffffffffffff
push ecx
push edi
call dword [ebp + 0x24]
test eax, eax
jne 0x5c5d84
mov ebx, str.HttpSendRequest_failed
jmp 0x5c5de6
push ebx
lea eax, [ebp + 0x5c]
mov dword [ebp + 0x5c], 4
push eax
lea eax, [ebp + 0x58]
push eax
push 0x20000013
push edi
call dword [ebp + 0x2c]
test eax, eax
jne 0x5c5da8
mov ebx, str.HttpQueryInfo_failed
jmp 0x5c5de6
cmp dword [ebp + 0x58], 0xc8
je 0x5c5de6
push dword [ebp + 0x58]
push str.Error__d_:
push 0x64
pop esi
push esi
push 0x7ed490
call fcn.00450bef
add esp, 0x10
lea ecx, [ebp + 0x5c]
sub esi, eax
mov dword [ebp + 0x5c], esi
lea eax, [eax + 0x7ed490]
push ebx
push ecx
push eax
push 0x14
push edi
call dword [ebp + 0x2c]
mov ebx, 0x7ed490
push edi
call dword [ebp + 0x28]
push dword [ebp + 0x4c]
call dword [ebp + 0x28]
push dword [ebp + 0x48]
call dword [ebp + 0x28]
pop edi
lea ecx, [ebp]
call fcn.00410858
pop esi
mov eax, dword [ebp + 0x44]
cmp eax, 0x10
jb 0x5c5e35
mov ecx, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x5c5e2c
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.004279ae
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.006643a9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add ebp, 0x60
leave
ret 0x18