Function at 0x40b240
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a010a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c4
mov eax, dword [0x4c2100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3a0], ecx
mov dword [ebp - 0x39c], 0
push 0xe0
lea eax, [ebp - 0x390]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004786f0
add esp, 0xc
lea eax, [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
call fcn.00413900
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push eax
push ecx
lea ecx, [ebp - 0x3bc]
call fcn.00409e00
mov esi, eax
push 0x1a8
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004786f0
add esp, 0xc
lea ecx, [ebp - 0x2b0]
call fcn.0041c460
push esi
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 3
call fcn.0041d1b0
lea eax, [ebp - 0x390]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.0041cdd0
lea ecx, [ebp - 0x2b0]
call fcn.0040c5d0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3a4]
cmp ecx, 0xf
jbe 0x40b34f
mov edx, dword [ebp - 0x3b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b345
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b89a
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov dword [ebp - 0x3a8], 0
mov dword [ebp - 0x3a4], 0xf
mov byte [ebp - 0x3b8], 0
push fcn.00413870
push 1
push 0x18
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
call fcn.00476871
mov eax, dword [ebp - 0x388]
test eax, eax
jne 0x40b407
lea edx, [ebp - 0x32c]
lea ecx, [ebp - 0x58]
call fcn.00405f60
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 7
mov ecx, dword [eax + 0x10]
jbe 0x40b3a7
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4c3c60
call fcn.0041a6d0
push eax
call fcn.004176b0
mov ecx, dword [ebp - 0x44]
add esp, 8
cmp ecx, 7
jbe 0x40b454
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b3f1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b89f
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov byte [ebp - 0x391], 0
jmp 0x40b818
cmp eax, 0x190
jl 0x40b433
mov edx, str.Error
mov ecx, 0x4c3c60
call fcn.00417410
push dword [ebp - 0x388]
mov ecx, eax
call fcn.004112e0
mov edx, str._making_request.
mov ecx, eax
jmp 0x40b446
cmp dword [ebp - 0x374], 0
jne 0x40b460
mov edx, str.Manifest_is_empty.
mov ecx, 0x4c3c60
call fcn.00417410
push eax
call fcn.004176b0
add esp, 4
mov byte [ebp - 0x391], 0
jmp 0x40b818
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0xb0
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.004786f0
add esp, 0xc
mov dword [ebp - 0x108], 0x4bbd28
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xf8], 0x4bbd68
call fcn.00415650
mov byte [ebp - 4], 9
mov eax, 0xc
mov dword [ebp - 0x398], eax
xorps xmm0, xmm0
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x108]
push 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0x108]
mov eax, dword [ebp - 0x108]
movlpd qword [ebp - 0x100], xmm0
add ecx, dword [eax + 4]
lea eax, [ebp - 0xf0]
push eax
call fcn.00416970
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xf8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xfc], eax
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x10c], eax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x108]
push 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea eax, [ebp - 0x384]
push eax
lea ecx, [ebp - 0xf0]
call fcn.004154d0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x108]
call fcn.00417bf0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x40b7c0
cmp dword [ebp - 0x14], 0xf
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova edi, dword [ebp - 0x28]
seta byte [ebp - 0x391]
test eax, eax
je 0x40b84b
push eax
push 0x20
push edi
call fcn.004780c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40b84b
sub esi, edi
cmp esi, 0xffffffff
je 0x40b84b
cmp dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
mov ecx, esi
mov dword [ebp - 0x30], 0
cmovb ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
cmp byte [ebp - 0x391], 0
push ecx
cmovne eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
call fcn.00418d30
or dword [ebp - 0x398], 2
mov byte [ebp - 4], 0x10
lea edi, [esi + 1]
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
seta byte [ebp - 0x391]
mov dword [ebp - 0x39c], ecx
cmp edi, esi
jae 0x40b684
mov eax, esi
sub eax, edi
push eax
lea eax, [ecx + edi]
push 0x20
push eax
call fcn.004780c0
add esp, 0xc
test eax, eax
je 0x40b684
sub eax, dword [ebp - 0x39c]
jmp 0x40b687
or eax, 0xffffffff
cmp eax, 0xffffffff
mov dword [ebp - 0x48], 0
mov ecx, esi
mov dword [ebp - 0x44], 0
cmovne ecx, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
cmp esi, edi
jb 0x40b8a9
dec ecx
lea eax, [ebp - 0x28]
sub esi, edi
cmp esi, ecx
cmovb ecx, esi
cmp byte [ebp - 0x391], 0
push ecx
cmovne eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
add eax, edi
push eax
call fcn.00418d30
or dword [ebp - 0x398], 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x3d0]
call fcn.00413900
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x3b8]
call fcn.00413900
mov edx, dword [ebp - 0x3a0]
lea eax, [ebp - 0x3d0]
mov byte [ebp - 4], 0x13
push eax
mov ecx, dword [edx + 4]
cmp ecx, dword [edx + 8]
je 0x40b71f
call fcn.0041c1f0
add dword [edx + 4], 0x30
jmp 0x40b727
push ecx
mov ecx, edx
call fcn.0041ac40
lea ecx, [ebp - 0x3d0]
call fcn.0040bb50
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x40b76a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b760
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8a4
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x40b7a2
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b798
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8a4
push ecx
push edx
call fcn.00476bd7
add esp, 8
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x108]
call fcn.00417bf0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x40b5c4
mov byte [ebp - 0x391], 1
lea ecx, [ebp - 0x108]
call fcn.00409aa0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x40b806
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8a4
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x390]
call fcn.0040b8b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x40b879
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b86f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8a4
jmp 0x40b86f
mov edx, str.Manifest_contains_format_errors.
mov ecx, 0x4c3c60
call fcn.00417410
push eax
call fcn.004176b0
add esp, 4
mov byte [ebp - 0x391], 0
jmp 0x40b7c7
push ecx
push edx
call fcn.00476bd7
add esp, 8
mov al, byte [ebp - 0x391]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00476631
mov esp, ebp
pop ebp
ret
call fcn.0047fa03
call fcn.0047fa03
call fcn.0047fa03
call fcn.00416a80
int3