Function at 0x5b0d64
Capabilities:
Check http status code

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x6b34b0
call fcn.006426c4
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 0x718430
push eax
call fcn.004cc123
add esp, 0xc
test al, al
jne 0x5b0dae
mov edi, str.cant_load_wininet.dll
jmp 0x5b0fd9
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00495281
mov esi, eax
push 0x2f
mov byte [ebp - 4], 1
call fcn.004948ef
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0047d943
push esi
push eax
lea eax, [ebp]
mov byte [ebp - 4], 2
push eax
call fcn.00428d3c
push ebx
push 1
lea ecx, [ebp - 0x24]
call fcn.0040f95f
push ebx
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040f95f
cmp dword [ebp + 0x14], 0x10
mov eax, dword [ebp]
jae 0x5b0e04
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 0x5b0e1f
mov edi, str.InternetOpen_failed
jmp 0x5b0fcd
push ebx
push ebx
push 3
mov eax, 0x7479ec
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 0x5b0e48
mov edi, str.InternetConnect_failed
jmp 0x5b0fc5
call fcn.0046d243
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.004722e0
push eax
lea ecx, [ebp + 0x18]
call fcn.0040ef82
push 0
push 1
lea ecx, [ebp - 0x54]
call fcn.0040f95f
cmp dword [ebp + 0x2c], 0x10
mov ecx, dword [ebp + 0x18]
jae 0x5b0e8d
lea ecx, [ebp + 0x18]
push dword [ebp + 0x50]
movzx eax, byte [ebp + 0x70]
push dword [ebp + 0x74]
push dword [0x78d828]
push dword [ebp + 0x68]
push eax
push esi
push ecx
call fcn.0049535c
push eax
call fcn.004949a5
push eax
push dword [ebp + 0x78]
call fcn.005b10e1
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.0045feaa
mov ecx, dword [ebp + 0x6c]
add esp, 0x34
test ecx, ecx
je 0x5b0ef8
cmp byte [ecx], 0
je 0x5b0ef8
push ecx
sub esi, eax
lea ecx, [ebp - 0x554]
push str.dl_s
add eax, ecx
push esi
push eax
call fcn.0045feaa
add esp, 0x10
mov esi, dword [ebp + 0x64]
mov eax, 0x6cf31c
test esi, esi
jne 0x5b0f09
mov eax, 0x6cf324
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 0x5b0f30
mov edi, str.HttpOpenRequest_failed
jmp 0x5b0fbf
mov ecx, str.Content_type:_application_octet_stream
test esi, esi
jne 0x5b0f3e
mov ecx, 0x7479ec
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 0x5b0f5b
mov edi, str.HttpSendRequest_failed
jmp 0x5b0fbb
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 0x5b0f80
mov edi, str.HttpQueryInfo_failed
jmp 0x5b0fbb
cmp dword [ebp + 0x54], 0xc8
je 0x5b0fbb
push dword [ebp + 0x54]
mov edi, 0x7e69b0
push str.Error__d_:
push 0x64
pop esi
push esi
push edi
call fcn.0045feaa
add esp, 0x10
lea ecx, [ebp + 0x58]
sub esi, eax
mov dword [ebp + 0x58], esi
lea eax, [eax + 0x7e69b0]
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.0040f95f
pop esi
push ebx
push 1
lea ecx, [ebp + 0x18]
call fcn.0040f95f
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