Function at 0x551ad0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x13
push 0
push 0
dec ecx
jne 0x551ad8
push ecx
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x551f7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [ebp - 0x31], 0
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0xc5bcac]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
pop edx
sub eax, edx
jl 0x551f5d
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, 0x551f94
call fcn.0040588c
test eax, eax
jle 0x551b48
mov byte [ebp - 0x31], 1
jmp 0x551f51
cmp byte [ebp - 0x31], 0
je 0x551f51
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0040a348
mov eax, dword [ebp - 0x40]
call fcn.00405548
cmp eax, 2
jl 0x551f5d
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x50]
mov ecx, 4
mov edx, 1
call fcn.004057a8
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.0040a348
mov eax, dword [ebp - 0x48]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x5c]
mov ecx, 3
mov edx, 0x24
call fcn.004057a8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.0040a348
mov eax, dword [ebp - 0x54]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x68]
mov ecx, 3
mov edx, 0x2a
call fcn.004057a8
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.0040a348
mov eax, dword [ebp - 0x60]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x74]
mov ecx, 3
mov edx, 0x31
call fcn.004057a8
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.0040a348
mov eax, dword [ebp - 0x6c]
or edx, 0xffffffff
call fcn.0040a9e4
mov dword [ebp - 0x20], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x80]
mov ecx, 0x10
mov edx, 0x35
call fcn.004057a8
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0040a348
mov eax, dword [ebp - 0x78]
call fcn.0040aa60
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x551d85
cmp dword [ebp - 0x30], 0xffffffff
jne 0x551d85
cmp dword [ebp - 0x20], 0xffffffff
jne 0x551d85
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x551d85
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x84]
call fcn.0040a348
mov eax, dword [ebp - 0x84]
call fcn.00405548
cmp eax, 0x3c
jge 0x551d85
mov dword [ebp - 0x18], 1
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x94]
mov ecx, 8
mov edx, 0x20
call fcn.004057a8
mov eax, dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
call fcn.0040a348
mov eax, dword [ebp - 0x8c]
call fcn.0040aa60
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov byte [ebp - 5], 1
cmp dword [ebp - 0x14], 0
jle 0x551f51
cmp dword [ebp - 0x18], 0
jl 0x551f51
cmp dword [ebp - 0x1c], 0
jl 0x551f51
cmp dword [ebp - 0x20], 0
jl 0x551f51
cmp dword [ebp - 0x2c], 0
jne 0x551dbf
cmp dword [ebp - 0x30], 0
jb 0x551f51
jmp 0x551dc5
jl 0x551f51
cmp dword [ebp - 0x10], 0x1e
jge 0x551f51
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 8]
mov cl, byte [ebp - 0x14]
mov byte [edx + eax - 0x3fe], cl
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 8]
mov cl, byte [ebp - 0x18]
mov byte [edx + eax - 0x3fb], cl
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 8]
mov cl, byte [ebp - 0x1c]
mov byte [edx + eax - 0x3fa], cl
mov byte [ebp - 0x25], 2
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0xc]
mov eax, dword [0xc5bcac]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0040a0f8
mov edx, dword [ebp - 0x98]
mov eax, 0x551fa8
call fcn.0040588c
test eax, eax
jle 0x551e50
inc byte [ebp - 0x25]
xor eax, eax
mov al, byte [ebp - 0x25]
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 2
lea ecx, [ecx + ecx*2]
add ecx, 3
mov eax, dword [ebp + 8]
add eax, 0xfffffc00
mov edx, 0x3ff
call fcn.004a00f4
mov eax, dword [ebp - 0x10]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 8]
mov cl, byte [ebp - 0x20]
mov byte [edx + eax - 0x7fd], cl
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp edx, 0
jne 0x551e9d
cmp eax, 0x1900
jb 0x551f05
jmp 0x551e9f
jl 0x551f05
cmp dword [ebp - 0x14], 0xc2
jne 0x551f05
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
and eax, 0xffff
xor edx, edx
cmp edx, 0
jne 0x551ec4
cmp eax, 0xc8
jbe 0x551f05
jmp 0x551ec6
jle 0x551f05
mov eax, 0x64
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
call fcn.0051abc4
test al, al
je 0x551f05
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
and eax, 0xffff0000
and edx, 0xffff
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
cdq
add eax, dword [ebp - 0x30]
adc edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
xor edx, edx
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 2
lea ecx, [ecx + ecx*2]
add ecx, 0xb
mov eax, dword [ebp + 8]
add eax, 0xfffffc00
mov edx, 0x3ff
call fcn.004a00f4
mov eax, dword [ebp - 0x30]
and eax, 0xffffffff
push eax
mov ecx, dword [ebp - 0x10]
shl ecx, 2
lea ecx, [ecx + ecx*2]
add ecx, 7
mov eax, dword [ebp + 8]
add eax, 0xfffffc00
mov edx, 0x3ff
call fcn.004a0274
inc dword [ebp - 0x10]
inc dword [ebp - 0xc]
dec dword [ebp - 0x38]
jne 0x551b1e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x551f82
lea eax, [ebp - 0x9c]
mov edx, 0x19
call fcn.0040529c
ret