Function at 0x7211f4
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x7211fc
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x72151c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x354], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x358], 0
jl 0x7214f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0x358], 0xc7
jg 0x7214f9
lea eax, [ebp - 0xc]
mov edx, dword [0x7d69cc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x358]
mov edx, dword [edx + ecx*4]
call fcn.00405310
mov eax, dword [ebp - 0xc]
call fcn.00405548
cmp eax, 0xc8
jl 0x7214f9
lea eax, [ebp - 0xc]
call fcn.004057a0
add eax, 0xbc
mov ax, word [eax]
mov word [ebp - 6], ax
mov al, byte [ebp - 6]
and al, 0xff
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0xf]
mov byte [ebp - 0xe], al
movzx eax, word [ebp - 6]
shr eax, 8
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0xf]
mov byte [ebp - 0xd], al
lea edx, [ebp - 0x14]
mov eax, 0xa1
call fcn.005bfab4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00478088
lea edx, [ebp - 0x18]
mov eax, 0x31
call fcn.005bfab4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x300]
call fcn.00478088
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.0040a83c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
call fcn.00478088
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.00580d30
lea edx, [ebp - 0x20]
mov eax, 0x32
call fcn.005bfab4
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x308]
call fcn.00478088
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.00478088
lea edx, [ebp - 0x28]
mov eax, 0x9b
call fcn.005bfab4
push dword [ebp - 0x28]
push 0x721530
lea ecx, [ebp - 0x2c]
xor eax, eax
mov al, byte [ebp - 0xe]
mov edx, 2
call fcn.0040a950
push dword [ebp - 0x2c]
push 0x72153c
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00405608
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00478088
lea edx, [ebp - 0x34]
mov eax, 0x9c
call fcn.005bfab4
push dword [ebp - 0x34]
push 0x721530
lea ecx, [ebp - 0x38]
xor eax, eax
mov al, byte [ebp - 0xd]
mov edx, 2
call fcn.0040a950
push dword [ebp - 0x38]
push 0x72153c
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00405608
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.00478088
cmp byte [ebp - 0xe], 0x80
jb 0x721416
xor eax, eax
mov al, byte [ebp - 0xe]
sub eax, 0x80
imul eax, eax, 0xf6
mov ecx, 0x7e
cdq
idiv ecx
mov edx, eax
add edx, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.004777a0
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00477f78
jmp 0x721426
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00477f78
cmp byte [ebp - 0xd], 0x80
jb 0x721469
xor eax, eax
mov al, byte [ebp - 0xd]
sub eax, 0x80
imul eax, eax, 0xf6
mov ecx, 0x7e
cdq
idiv ecx
mov edx, eax
add edx, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.004777a0
mov dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.00477f78
jmp 0x721479
xor edx, edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
call fcn.00477f78
mov edx, 0xfe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00455f38
xor edx, edx
mov dl, byte [ebp - 0xe]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00455f38
lea edx, [ebp - 0x3c]
mov eax, 0x13
call fcn.005bfab4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x32c]
call fcn.00478088
lea edx, [ebp - 0x40]
mov eax, 0x109
call fcn.005bfab4
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x328]
call fcn.00478088
lea edx, [ebp - 0x44]
mov eax, 0x284
call fcn.005bfab4
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x33c]
call fcn.00478088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x721523
lea eax, [ebp - 0x44]
mov edx, 0xd
call fcn.0040529c
lea eax, [ebp - 0xc]
call fcn.00405278
ret