Function at 0x40a3a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453bca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6d0
mov eax, dword [0x46c150]
push ebx
push esi
push edi
lea ecx, [ebp - 0x6c4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
call fcn.00451f86
xor edi, edi
mov dword [ebp - 0x6c4], 0x45acc0
mov dword [ebp - 0x6bc], edi
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], edi
call fcn.00451d64
lea eax, [ebp - 0x6c4]
push eax
push str.OverDrive.OMCDetectObject
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 1
call fcn.00451d7c
test eax, eax
jne 0x40a452
push edi
push 0x12c
lea ecx, [ebp - 0x26c]
push ecx
lea ecx, [ebp - 0x6c4]
call fcn.00452148
lea edx, [ebp - 0x26c]
push edx
call fcn.004093e0
push eax
mov eax, dword [ebp + 0x14]
push 0x1130
push eax
call dword [0x4582ec]
add esp, 0x10
jmp 0x40abf6
lea ecx, [ebp - 0x674]
call dword [0x458b18]
lea ecx, [ebp - 0x67c]
call dword [0x458b18]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x6b4]
push ecx
lea edx, [ebp - 0x67c]
push edx
lea eax, [ebp - 0x674]
push eax
lea ecx, [ebp - 0x6ac]
push ecx
push esi
mov byte [ebp - 4], 3
call fcn.00452106
test eax, eax
jne 0x40a4af
mov edx, dword [ebp + 0x14]
push esi
push 0x119a
push edx
call dword [0x4582ec]
add esp, 0xc
jmp 0x40abde
mov eax, dword [ebp - 0x6ac]
cmp eax, 3
je 0x40a4d9
cmp eax, 0x100b
je 0x40a4d9
mov eax, dword [ebp + 0x14]
push esi
push 0x119a
push eax
call dword [0x4582ec]
add esp, 0xc
jmp 0x40abde
lea ecx, [ebp - 0x670]
call dword [0x458b18]
mov ebx, 4
push 0xe000
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], bl
call dword [0x4582d8]
lea ecx, [ebp - 0x6d4]
call fcn.00452112
push 0x14
mov byte [ebp - 4], 6
call fcn.00451ec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x678], esi
cmp esi, edi
mov byte [ebp - 4], 7
je 0x40a545
push edi
push edi
push edi
push edi
push 1
lea ecx, [ebp - 0x670]
call dword [0x4589bc]
push eax
mov ecx, esi
call fcn.0045210c
mov esi, eax
jmp 0x40a547
xor esi, esi
mov dword [ebp - 0x680], esi
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 4], ebx
call fcn.004520f4
lea ecx, [ebp - 0x6cc]
call fcn.00452112
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x6b4]
push ecx
push edx
push eax
lea ecx, [ebp - 0x674]
mov byte [ebp - 4], 0xa
call dword [0x4589bc]
push eax
mov ecx, esi
call fcn.00452118
mov esi, eax
mov dword [ebp - 0x69c], esi
mov dword [ebp - 4], ebx
call fcn.004520f4
mov edi, dword [ebp - 0x6ac]
xor ecx, ecx
cmp edi, 0x100b
setne cl
dec ecx
and ecx, 0x800000
add ecx, 0x400000
mov edi, ecx
lea ecx, [ebp - 0x6dc]
call fcn.00452112
push edi
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x67c]
mov byte [ebp - 4], 0xd
call dword [0x4589bc]
push eax
push 0
mov ecx, esi
call fcn.0045211e
mov esi, eax
mov dword [ebp - 0x6b8], esi
mov dword [ebp - 4], ebx
call fcn.004520f4
lea ecx, [ebp - 0x670]
call dword [0x4582e0]
push 0x2a
push 0x20
lea ecx, [ebp - 0x670]
call dword [0x4584ec]
lea ecx, [ebp - 0x670]
call dword [0x4584e8]
lea ecx, [ebp - 0x68c]
call dword [0x458b18]
lea edx, [ebp - 0x678]
push edx
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0xf
call fcn.00409c10
mov edi, eax
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0x10
call fcn.00401000
mov ebx, eax
lea ecx, [ebp - 0x670]
mov byte [ebp - 4], 0x11
call dword [0x4589bc]
push eax
mov ecx, edi
call dword [0x4589bc]
push eax
mov ecx, ebx
call dword [0x4589bc]
push eax
lea ecx, [ebp - 0x68c]
push 0x45acdc
push ecx
call dword [0x4582dc]
add esp, 0x14
lea ecx, [ebp - 0x6a0]
call dword [0x458b24]
lea ecx, [ebp - 0x678]
mov byte [ebp - 4], 0xf
call dword [0x458b24]
lea ecx, [ebp - 0x68c]
call dword [0x4589bc]
push eax
lea edx, [ebp - 0x698]
push edx
call fcn.00404390
add esp, 8
lea ecx, [ebp - 0x694]
call dword [0x458b18]
push 0x83f
lea ecx, [ebp - 0x694]
mov byte [ebp - 4], 0x13
call dword [0x4582d8]
lea ecx, [ebp - 0x690]
call dword [0x458b18]
lea eax, [ebp - 0x6a0]
push eax
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0x14
call fcn.00401000
mov edi, eax
lea ecx, [ebp - 0x678]
push ecx
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0x15
call fcn.00409c10
mov ebx, eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x698]
mov byte [ebp - 4], 0x16
call dword [0x4589bc]
push eax
mov ecx, edi
call dword [0x4589bc]
push eax
mov ecx, ebx
call dword [0x4589bc]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x690]
push 0x840
push ecx
call dword [0x4582ec]
add esp, 0x1c
lea ecx, [ebp - 0x678]
call dword [0x458b24]
lea ecx, [ebp - 0x6a0]
mov byte [ebp - 4], 0x14
call dword [0x458b24]
call dword [0x469060]
lea ecx, [ebp - 0x690]
mov dword [ebp - 0x678], eax
call dword [0x4584e4]
mov edi, eax
test edi, edi
je 0x40a7d4
push edi
call dword [0x4581a0]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and eax, 0xfffffffc
call fcn.00452a50
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x678]
mov eax, esp
push edx
push ebx
push edi
push eax
call fcn.00404250
mov edi, eax
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a7e0
sub eax, edx
lea ecx, [ebp - 0x6a4]
mov ebx, eax
call fcn.00452112
push ebx
push edi
lea eax, [ebp - 0x694]
push eax
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00452154
mov ebx, 0x14
mov dword [ebp - 4], ebx
call fcn.004520f4
lea ecx, [ebp - 0x6b0]
push ecx
mov ecx, esi
mov dword [ebp - 0x6b0], 0x1f4
call fcn.0045212a
mov edi, dword [ebp + 0x14]
mov ecx, edi
call dword [0x458284]
lea ecx, [ebp - 0x6a4]
call fcn.00452112
mov byte [ebp - 4], 0x1b
lea esp, [esp]
mov edx, dword [esi]
push 0x3ff
lea eax, [ebp - 0x66c]
push eax
mov ecx, esi
call dword [edx + 0x3c]
test eax, eax
jbe 0x40a8a7
lea ecx, [ebp - 0x66c]
push ecx
lea ecx, [ebp - 0x680]
mov byte [ebp + eax - 0x66c], 0
call dword [0x4584dc]
lea edx, [ebp - 0x680]
push edx
mov ecx, edi
mov byte [ebp - 4], 0x1c
call dword [0x458228]
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0x1b
call dword [0x458b24]
jmp 0x40a850
mov dword [ebp - 4], ebx
call fcn.004520f4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edi, dword [ebp - 0x69c]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0x6a8]
test ecx, ecx
je 0x40a8e6
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [ebp - 0x6b0]
cmp eax, 0xc8
jb 0x40a901
cmp eax, 0x12b
ja 0x40a901
mov esi, 1
jmp 0x40a903
xor esi, esi
lea ecx, [ebp - 0x690]
call dword [0x458b24]
lea ecx, [ebp - 0x694]
call dword [0x458b24]
lea ecx, [ebp - 0x698]
call dword [0x458b24]
lea ecx, [ebp - 0x68c]
call dword [0x458b24]
lea ecx, [ebp - 0x670]
call dword [0x458b24]
lea ecx, [ebp - 0x67c]
call dword [0x458b24]
lea ecx, [ebp - 0x674]
call dword [0x458b24]
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0
call fcn.00451d5e
mov eax, esi
jmp 0x40ac07
lea ecx, [ebp - 0x67c]
call dword [0x458b24]
lea ecx, [ebp - 0x674]
call dword [0x458b24]
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 0
call fcn.00451d5e
xor eax, eax
lea esp, [ebp - 0x6e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00452a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret