Function at 0x5e4a00
Capabilities:
Check http status code

Disassembly:
push ebp
sub esp, 0x5c
mov eax, 0x6e7119
call fcn.006899cc
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.0047d25c
xor ecx, ecx
test al, al
push ebx
lea eax, [ebp + 0x18]
setne cl
push 0x74b4c0
push eax
mov dword [ebp + 0x50], ecx
call fcn.004df431
add esp, 0xc
test al, al
jne 0x5e4a59
mov ebx, str.cant_load_wininet.dll
jmp 0x5e4c73
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.004a6e55
mov esi, eax
push 0x2f
mov byte [ebp - 4], 1
call fcn.004a6473
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0048ec5e
push esi
push eax
push dword [ebp + 0x74]
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00425c70
lea ecx, [ebp - 0x24]
call fcn.0040fad0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040fad0
cmp dword [ebp + 0x14], 0x10
lea eax, [ebp]
jb 0x5e4aab
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 0x5e4ac6
mov ebx, str.InternetOpen_failed
jmp 0x5e4c6a
push edi
push ebx
push ebx
push 3
mov eax, 0x77a89f
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 0x5e4af0
mov ebx, str.InternetConnect_failed
jmp 0x5e4c63
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push 1
mov esi, eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.00482783
lea ecx, [ebp + 0x30]
cmp ecx, eax
je 0x5e4b17
mov byte [ebp + 0x54], bl
push dword [ebp + 0x54]
push eax
call fcn.00416240
lea ecx, [ebp - 0x54]
call fcn.0040fad0
cmp dword [ebp + 0x44], 0x10
lea ecx, [ebp + 0x30]
jb 0x5e4b2b
mov ecx, dword [ebp + 0x30]
push dword [ebp + 0x50]
movzx eax, byte [ebp + 0x74]
push dword [ebp + 0x78]
push dword [0x7c0b50]
push dword [ebp + 0x6c]
push eax
push esi
push ecx
call fcn.004a6f28
push eax
call fcn.004a652c
push eax
push dword [ebp + 0x7c]
call fcn.005e4d1e
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.0041c720
mov ecx, dword [ebp + 0x70]
add esp, 0x34
test ecx, ecx
je 0x5e4b96
cmp byte [ecx], 0
je 0x5e4b96
push ecx
sub esi, eax
lea ecx, [ebp - 0x554]
push str.dl_s
add eax, ecx
push esi
push eax
call fcn.0041c720
add esp, 0x10
mov esi, dword [ebp + 0x68]
mov eax, 0x6fd9bc
test esi, esi
jne 0x5e4ba7
mov eax, 0x6fd9c4
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 0x5e4bcc
mov ebx, str.HttpOpenRequest_failed
jmp 0x5e4c5d
mov ecx, str.Content_type:_application_octet_stream
test esi, esi
jne 0x5e4bda
mov ecx, 0x77a89f
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 0x5e4bf7
mov ebx, str.HttpSendRequest_failed
jmp 0x5e4c59
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 0x5e4c1b
mov ebx, str.HttpQueryInfo_failed
jmp 0x5e4c59
cmp dword [ebp + 0x58], 0xc8
je 0x5e4c59
push dword [ebp + 0x58]
push str.Error__d_:
push 0x64
pop esi
push esi
push 0x81d1d8
call fcn.0041c720
add esp, 0x10
lea ecx, [ebp + 0x5c]
sub esi, eax
mov dword [ebp + 0x5c], esi
lea eax, [eax + 0x81d1d8]
push ebx
push ecx
push eax
push 0x14
push edi
call dword [ebp + 0x2c]
mov ebx, 0x81d1d8
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.0040fad0
pop esi
mov eax, dword [ebp + 0x44]
cmp eax, 0x10
jb 0x5e4ca8
mov ecx, dword [ebp + 0x30]
inc eax
mov dword [ebp + 0x74], eax
mov dword [ebp + 0x6c], ecx
cmp eax, 0x1000
jb 0x5e4c9f
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x6c]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x6c]
push eax
push ecx
call fcn.0068976d
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