Function at 0x49ce40
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 0x73c1ef
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x2d0
cmp byte [0x83f09c], 0
push esi
push edi
mov esi, ecx
je 0x49ce86
lea edx, [esi + 4]
xor al, al
xchg byte [edx], al
mov eax, dword fs:[0x2c]
mov ecx, dword [0x155fab8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x902530]
cmp eax, dword [ecx + 0x78c]
jg 0x49d2b2
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, 0x90250c
push dword [ebx + 0x18]
push edi
push dword [ebx + 0xc]
call fcn.0049bb60
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 0x49cf0f
push dword [ebx + 8]
push dword [ebp - 0x20]
push dword [ebx + 0xc]
push edi
push esi
call fcn.0049d450
add esp, 0x14
xor al, al
mov byte [ebp - 0x11], al
jmp 0x49d28f
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 0x49d03f
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0056bc00
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.00499470
mov edi, dword [ebx + 8]
add esp, 0x18
mov ecx, edi
push eax
call fcn.004822a0
lea ecx, [ebp - 0x98]
call fcn.00481f10
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.00481f10
cmp byte [0xa902b2], 0
mov ecx, dword [0x83f0d0]
mov eax, dword [str.DesktopInstaller]
je 0x49cfde
cmp byte [0x8f028c], 0
je 0x49cfde
test cl, cl
je 0x49d24b
cmp cl, 6
jb 0x49d24b
shr ecx, 8
cmp cl, 2
jb 0x49d24b
jmp 0x49cfe6
test cl, cl
je 0x49d24b
mov dword [ebp - 0x20], 0x131323d
mov edx, dword [ebp - 0x20]
mov eax, dword [0x83f0d0]
sub edx, 0xbb8f99
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 0x49d010
sub ecx, esi
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x49d023
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 0x49d22a
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
cmp eax, 0xc8
jb 0x49d056
cmp eax, 0x12b
jbe 0x49d252
cmp eax, 0x130
je 0x49d252
push 0x200
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x38], 0x200
push 0
push eax
call fcn.007012e0
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 0x49d135
mov eax, dword [ebx + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x49d0b1
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 0x49d0c5
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.00486680
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x80]
add esp, 0x1c
mov ecx, edi
push eax
call fcn.004822a0
lea ecx, [ebp - 0x80]
jmp 0x49d197
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.0056bc00
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.00499470
mov edi, dword [ebx + 8]
add esp, 0x18
mov ecx, edi
push eax
call fcn.004822a0
lea ecx, [ebp - 0xc8]
call fcn.00481f10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.00481f10
cmp byte [0xa902b2], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x83f0d0]
mov dword [ebp - 0x24], eax
je 0x49d1d7
cmp byte [0x8f028c], 0
je 0x49d1d7
test cl, cl
je 0x49d24b
cmp cl, 6
jb 0x49d24b
shr ecx, 8
cmp cl, 2
jb 0x49d24b
jmp 0x49d1db
test cl, cl
je 0x49d24b
mov dword [ebp - 0x24], 0x139b3d1
mov edx, dword [ebp - 0x24]
mov eax, dword [0x83f0d0]
sub edx, 0xc4112d
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 0x49d200
sub ecx, esi
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x49d213
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.00513f20
mov esi, dword [ebp - 0x2c]
add esp, 0x28
xor al, al
mov byte [ebp - 0x11], al
jmp 0x49d28f
cmp byte [0x83f094], 0
je 0x49d26d
push dword [ebx + 8]
push edi
push esi
call fcn.0049db00
add esp, 0xc
mov byte [ebp - 0x11], al
jmp 0x49d28f
cmp eax, 0xcc
je 0x49d28a
cmp eax, 0x130
je 0x49d28a
push dword [ebx + 8]
push edi
push esi
call fcn.0049db00
add esp, 0xc
jmp 0x49d28c
mov al, 1
mov byte [ebp - 0x11], al
test esi, esi
je 0x49d29d
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 0x902530
call fcn.006fee91
add esp, 4
cmp dword [0x902530], 0xffffffff
jne 0x49cea6
mov ecx, 0x90250c
mov dword [ebp - 4], 0
call fcn.00499e00
push 0x74c530
call fcn.006fecf7
push 0x902530
mov dword [ebp - 4], 0xffffffff
call fcn.006fee47
add esp, 8
jmp 0x49cea6