Function at 0x49f6c0
Capabilities:
Check for software breakpoints
Check http status code

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x74085f
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2d0
cmp byte [0x84509c], 0
push esi
push edi
mov esi, ecx
je 0x49f706
lea edx, [esi + 4]
xor al, al
xchg byte [edx], al
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1033fe0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x9089d8]
cmp eax, dword [ecx + 0x64c]
jg 0x49fb32
lea eax, [esi + 4]
mov dword [ebp - 0x20], eax
mov al, byte [eax]
mov byte [ebp - 0x2c], al
nop
push dword [ebp - 0x2c]
mov edi, dword [ebx + 0x10]
mov ecx, 0x9089b4
push dword [ebx + 0x18]
push edi
push dword [ebx + 0xc]
call fcn.0049e0e0
mov esi, eax
mov dword [ebp - 0x2c], esi
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x49f78f
push dword [ebx + 8]
push dword [ebp - 0x20]
push dword [ebx + 0xc]
push edi
push esi
call fcn.0049fd10
add esp, 0x14
xor al, al
mov byte [ebp - 0x11], al
jmp 0x49fb0f
push 0
mov dword [ebp - 0x44], 4
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x44]
push 0
push eax
push ecx
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x49f8bf
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.005707c0
add esp, 0xc
push eax
push edi
push dword [ebx + 0xc]
mov byte [ebp - 4], 2
sub esp, 8
mov eax, esp
mov dword [eax], str.failed_to_query_status_of__url___error_
mov dword [eax + 4], 0x2d
lea eax, [ebp - 0x98]
push eax
call fcn.0049bd60
mov edi, dword [ebx + 8]
add esp, 0x18
mov ecx, edi
push eax
call fcn.00484f30
lea ecx, [ebp - 0x98]
call fcn.00484b50
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00484b50
cmp byte [0xa968b0], 0
mov ecx, dword [0x8450d0]
mov eax, dword [str.DesktopInstaller]
je 0x49f85e
cmp byte [0x8f63f8], 0
je 0x49f85e
test cl, cl
je 0x49facb
cmp cl, 6
jb 0x49facb
shr ecx, 8
cmp cl, 2
jb 0x49facb
jmp 0x49f866
test cl, cl
je 0x49facb
mov dword [ebp - 0x20], 0x14b544b
mov edx, dword [ebp - 0x20]
mov eax, dword [0x8450d0]
sub edx, 0xd55fff
mov ecx, edx
mov dword [ebp - 0x38], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x20], eax
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49f890
sub ecx, esi
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x49f8a3
mov esi, dword [edi]
mov eax, dword [edi + 0x10]
push 1
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, esp
push ecx
push edx
push 2
push dword [ebp - 0x20]
push dword [ebp - 0x38]
jmp 0x49faaa
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
cmp eax, 0xc8
jb 0x49f8d6
cmp eax, 0x12b
jbe 0x49fad2
cmp eax, 0x130
je 0x49fad2
push 0x200
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x38], 0x200
push 0
push eax
call fcn.007051b0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2e0]
push eax
push 0x14
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x49f9b5
mov eax, dword [ebx + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x49f931
mov edx, dword [eax]
cmp dword [edi + 0x14], 0x10
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
jb 0x49f945
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
sub esp, 0x10
mov ecx, dword [ebx + 0x14]
lea edi, [ebp - 0x2e0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, esp
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x50], edi
push 0x2d
mov dword [eax], 0xc2dd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x80]
push str.failed_Http__url:___code:___message:_
push eax
call fcn.004894e0
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x80]
add esp, 0x1c
mov ecx, edi
push eax
call fcn.00484f30
lea ecx, [ebp - 0x80]
jmp 0x49fa17
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.005707c0
add esp, 0xc
push eax
push edi
push dword [ebx + 0xc]
mov byte [ebp - 4], 3
sub esp, 8
mov eax, esp
mov dword [eax], str.failed_to_query_status_text_of__url___error_
mov dword [eax + 4], 0x32
lea eax, [ebp - 0xc8]
push eax
call fcn.0049bd60
mov edi, dword [ebx + 8]
add esp, 0x18
mov ecx, edi
push eax
call fcn.00484f30
lea ecx, [ebp - 0xc8]
call fcn.00484b50
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.00484b50
cmp byte [0xa968b0], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x8450d0]
mov dword [ebp - 0x24], eax
je 0x49fa57
cmp byte [0x8f63f8], 0
je 0x49fa57
test cl, cl
je 0x49facb
cmp cl, 6
jb 0x49facb
shr ecx, 8
cmp cl, 2
jb 0x49facb
jmp 0x49fa5b
test cl, cl
je 0x49facb
mov dword [ebp - 0x24], 0x154aad7
mov edx, dword [ebp - 0x24]
mov eax, dword [0x8450d0]
sub edx, 0xdeb68b
mov ecx, edx
mov dword [ebp - 0x20], eax
mov eax, dword [str.DesktopInstaller]
mov dword [ebp - 0x24], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x49fa80
sub ecx, esi
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x49fa93
mov esi, dword [edi]
mov eax, dword [edi + 0x10]
push 1
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, esp
push ecx
push edx
push 2
push dword [ebp - 0x24]
push dword [ebp - 0x20]
mov dword [ebp - 0x40], esi
lea esi, [ebp - 0x40]
mov dword [eax], 0xd
mov dword [eax + 4], 0
mov dword [eax + 8], esi
call fcn.00518420
mov esi, dword [ebp - 0x2c]
add esp, 0x28
xor al, al
mov byte [ebp - 0x11], al
jmp 0x49fb0f
cmp byte [0x845094], 0
je 0x49faed
push dword [ebx + 8]
push edi
push esi
call fcn.004a03c0
add esp, 0xc
mov byte [ebp - 0x11], al
jmp 0x49fb0f
cmp eax, 0xcc
je 0x49fb0a
cmp eax, 0x130
je 0x49fb0a
push dword [ebx + 8]
push edi
push esi
call fcn.004a03c0
add esp, 0xc
jmp 0x49fb0c
mov al, 1
mov byte [ebp - 0x11], al
test esi, esi
je 0x49fb1d
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c
push 0x9089d8
call fcn.00702d61
add esp, 4
cmp dword [0x9089d8], 0xffffffff
jne 0x49f726
mov ecx, 0x9089b4
mov dword [ebp - 4], 0
call fcn.0049c3b0
push 0x750f90
call fcn.00702bca
push 0x9089d8
mov dword [ebp - 4], 0xffffffff
call fcn.00702d17
add esp, 8
jmp 0x49f726