Function at 0x5bcad3
Capabilities:
Check http status code

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x6c1329
call fcn.00651da4
sub esp, 0x548
push ebx
xor ebx, ebx
mov dword [ebp + 0x2c], 0xf
push edi
mov edi, ebx
mov dword [ebp + 0x28], ebx
mov byte [ebp + 0x18], bl
push ebx
lea eax, [ebp + 0x30]
mov dword [ebp - 4], ebx
push 0x726b58
push eax
call fcn.004c84a9
add esp, 0xc
test al, al
jne 0x5bcb1d
mov edi, str.cant_load_wininet.dll
jmp 0x5bcd48
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004917a4
mov esi, eax
push 0x2f
mov byte [ebp - 4], 1
call fcn.00490e12
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00479cb0
push esi
push eax
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
call fcn.00428c9e
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040facf
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040facf
cmp dword [ebp + 0x14], 0x10
mov eax, dword [ebp]
jae 0x5bcb73
lea eax, [ebp]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [ebp + 0x30]
mov ecx, eax
mov dword [ebp + 0x48], ecx
test ecx, ecx
jne 0x5bcb8e
mov edi, str.InternetOpen_failed
jmp 0x5bcd3c
push ebx
push ebx
push 3
mov eax, 0x756a0c
push eax
push eax
push 0x50
push str.update.utorrent.com
push ecx
call dword [ebp + 0x34]
mov ebx, eax
mov dword [ebp + 0x4c], ebx
test ebx, ebx
jne 0x5bcbb7
mov edi, str.InternetConnect_failed
jmp 0x5bcd34
call fcn.0046955c
xor ecx, ecx
test al, al
setne cl
mov dword [ebp + 0x50], ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 1
mov esi, eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.0046e4c6
push eax
lea ecx, [ebp + 0x18]
call fcn.0040f0f2
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.0040facf
cmp dword [ebp + 0x2c], 0x10
mov ecx, dword [ebp + 0x18]
jae 0x5bcbfc
lea ecx, [ebp + 0x18]
push dword [ebp + 0x50]
movzx eax, byte [ebp + 0x70]
push dword [ebp + 0x74]
push dword [0x79e858]
push dword [ebp + 0x68]
push eax
push esi
push ecx
call fcn.0049187f
push eax
call fcn.00490ec8
push eax
push dword [ebp + 0x78]
call fcn.005bcdf6
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.0045bd49
mov ecx, dword [ebp + 0x6c]
add esp, 0x34
test ecx, ecx
je 0x5bcc67
cmp byte [ecx], 0
je 0x5bcc67
push ecx
sub esi, eax
lea ecx, [ebp - 0x554]
push str.dl_s
add eax, ecx
push esi
push eax
call fcn.0045bd49
add esp, 0x10
mov esi, dword [ebp + 0x64]
mov eax, 0x6dc17c
test esi, esi
jne 0x5bcc78
mov eax, 0x6dc184
xor ecx, ecx
push ecx
push 0x4000000
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x554]
push ecx
push eax
push ebx
call dword [ebp + 0x38]
mov ebx, eax
test ebx, ebx
jne 0x5bcc9f
mov edi, str.HttpOpenRequest_failed
jmp 0x5bcd2e
mov ecx, str.Content_type:_application_octet_stream
test esi, esi
jne 0x5bccad
mov ecx, 0x756a0c
mov eax, esi
neg eax
sbb eax, eax
and eax, dword [ebp + 0x68]
push eax
push esi
push 0xffffffffffffffff
push ecx
push ebx
call dword [ebp + 0x3c]
test eax, eax
jne 0x5bccca
mov edi, str.HttpSendRequest_failed
jmp 0x5bcd2a
push 0
lea eax, [ebp + 0x58]
mov dword [ebp + 0x58], 4
push eax
lea eax, [ebp + 0x54]
push eax
push 0x20000013
push ebx
call dword [ebp + 0x44]
test eax, eax
jne 0x5bccef
mov edi, str.HttpQueryInfo_failed
jmp 0x5bcd2a
cmp dword [ebp + 0x54], 0xc8
je 0x5bcd2a
push dword [ebp + 0x54]
mov edi, 0x7f9c38
push str.Error__d_:
push 0x64
pop esi
push esi
push edi
call fcn.0045bd49
add esp, 0x10
lea ecx, [ebp + 0x58]
sub esi, eax
mov dword [ebp + 0x58], esi
lea eax, [eax + 0x7f9c38]
push 0
push ecx
push eax
push 0x14
push ebx
call dword [ebp + 0x44]
push ebx
call dword [ebp + 0x40]
push dword [ebp + 0x4c]
call dword [ebp + 0x40]
push dword [ebp + 0x48]
call dword [ebp + 0x40]
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp]
call fcn.0040facf
pop esi
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040facf
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x5c]
pop ebp
ret 0x18