Function at 0x4ccbe2
Capabilities:
Check http status code

Disassembly:
push 0x7c
mov eax, 0x51d513
call fcn.00502a53
push ecx
mov eax, esp
mov dword [ebp - 0x84], esp
xor esi, esi
and dword [ebp - 0x40], esi
push 0x161f7
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
call fcn.004fefea
pop ecx
pop ecx
and dword [ebp - 4], esi
mov ebx, dword [ebp + 8]
push ebx
or dword [ebp - 4], 0xffffffff
call fcn.004c933b
lea eax, [ebp + 8]
push 0x161e8
push eax
call fcn.004fefea
mov dword [ebp - 4], 1
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x5283bc
push eax
push ecx
call fcn.004ff124
add esp, 0xc
mov byte [ebp - 4], 2
push ebx
mov byte [ebp - 4], 1
call fcn.004c91a3
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004fed5c
mov eax, dword [ebx + 0x68]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edi, eax
push esi
push edi
mov dword [ebp - 0x44], edi
mov ecx, dword [edi]
call dword [ecx + 0x1c0]
mov ecx, eax
add esp, 0xc
mov dword [ebp - 0x58], ecx
test ecx, ecx
je 0x4cd27c
mov eax, dword [ecx + 0xc]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], edx
test eax, eax
jle 0x4cd270
mov ecx, dword [ecx + 8]
mov eax, dword [edi]
push dword [ecx + edx*4]
push edi
call dword [eax + 0x44]
mov esi, eax
push esi
mov ecx, dword [esi]
call dword [ecx + 0x28]
add esp, 0xc
lea ecx, [ebp - 0x20]
mov edi, eax
call fcn.004fedb0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x20]
mov ecx, dword [esi]
push 1
push eax
push esi
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x44]
push 0
push 0
push edi
mov eax, dword [eax]
mov edi, dword [ebp - 0x44]
push edi
call dword [eax + 0x1e4]
xor edx, edx
mov dword [ebp - 0x54], eax
add esp, 0x1c
mov dword [ebp - 0x50], edx
mov ecx, dword [eax + 0xc]
add dword [ebp - 0x40], ecx
mov dword [ebp - 0x84], ecx
test ecx, ecx
jle 0x4cd1ff
mov ecx, dword [eax + 8]
mov eax, dword [edi]
push 1
push dword [ecx + edx*4]
push edi
call dword [eax + 0xe0]
mov esi, eax
push esi
push ebx
call fcn.004cb47a
add esp, 0x14
test al, al
je 0x4cd18a
lea ecx, [ebp + 8]
call fcn.004fedb0
mov byte [ebp - 4], 4
lea ecx, [ebp + 8]
mov eax, dword [esi]
push 1
push ecx
push esi
call dword [eax + 0x2c]
lea eax, [ebp - 0x60]
push 0x161e8
push eax
call fcn.004fefea
mov byte [ebp - 4], 5
push 0x5283bc
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004ff124
mov byte [ebp - 4], 6
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004ff11e
add esp, 0x2c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x5c]
call fcn.004fed5c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60]
call fcn.004fed5c
push ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x74], esp
mov ecx, esp
push eax
call fcn.004fed56
mov byte [ebp - 4], 0xa
push ebx
mov byte [ebp - 4], 9
call fcn.004cdae8
push 0
call fcn.0045bd02
add esp, 0xc
test al, al
jne 0x4cd1da
mov eax, dword [esi]
push esi
call dword [eax + 0x1d4]
pop ecx
test al, al
je 0x4ccdf9
mov eax, dword [esi]
push esi
call dword [eax + 0x1dc]
mov ecx, dword [ebx + 0x68]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x6c]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe0]
add esp, 0x14
mov esi, eax
push 0x530820
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.004ff124
mov byte [ebp - 4], 0xb
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004ff11e
add esp, 0x18
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x64]
call fcn.004fed5c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [esi]
push esi
call dword [eax + 0x28]
pop ecx
push eax
push esi
push ebx
call fcn.004cc081
mov eax, dword [esi]
push esi
call dword [eax + 0x114]
add esp, 0x18
cmp eax, 4
jne 0x4ccf5d
push 0x530820
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004ff124
mov byte [ebp - 4], 0xe
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.004ff11e
add esp, 0x18
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x68]
call fcn.004fed5c
lea eax, [ebp - 0x30]
push 0x163c8
push eax
call fcn.004fefea
pop ecx
pop ecx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x6c]
push 0x52da60
call fcn.004fedb6
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x48]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004ff01c
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x6c]
call fcn.004fed5c
mov eax, dword [esi]
push esi
call dword [eax + 0x28]
pop ecx
push eax
push 5
push ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x74], esp
mov ecx, esp
push eax
call fcn.004fed56
mov byte [ebp - 4], 0x13
push dword [ebx + 0x6c]
push ebx
mov byte [ebp - 4], 0x11
call fcn.004c9237
push ebx
call fcn.004caef3
lea eax, [ebp - 0x70]
push 0x161e8
push eax
call fcn.004fefea
mov byte [ebp - 4], 0x14
add esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x5283bc
push eax
push ecx
call fcn.004ff124
add esp, 0xc
mov byte [ebp - 4], 0x15
push ebx
mov byte [ebp - 4], 0x14
call fcn.004c91a3
pop ecx
pop ecx
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x70]
call fcn.004fed5c
inc dword [ebp - 0x10]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x30]
call fcn.004fed5c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x48]
call fcn.004fed5c
push ebx
call fcn.004cb366
pop ecx
test al, al
je 0x4cd148
mov eax, dword [esi]
push esi
call dword [eax + 0x118]
pop ecx
cmp eax, 2
jne 0x4cd148
lea ecx, [ebp - 0x38]
call fcn.004fedb0
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
call fcn.004fedb0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x38]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0xe4]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004fed62
lea eax, [ebp - 0x14]
push eax
call fcn.004ff298
lea eax, [ebp - 0x14]
push 0x5283bc
push eax
call fcn.004ff460
lea eax, [ebp - 0x14]
push str.COUNT_
push eax
call fcn.004ff12a
add esp, 0x24
test eax, eax
js 0x4cd130
movzx eax, ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x1c]
push str._DISTINCT
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004ff2f8
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4cd130
push 0x545744
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004ff2f8
add esp, 0xc
test eax, eax
js 0x4cd130
push 0x530820
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004ff124
mov byte [ebp - 4], 0x18
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004ff11e
add esp, 0x18
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
call fcn.004fed5c
lea eax, [ebp - 0x34]
push 0x16256
push eax
call fcn.004fefea
pop ecx
pop ecx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x7c]
push 0x52da60
call fcn.004fedb6
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004ff01c
add esp, 0xc
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x7c]
call fcn.004fed5c
mov eax, dword [esi]
push esi
call dword [eax + 0x28]
pop ecx
push eax
push 5
push ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 0x88], esp
mov ecx, esp
push eax
call fcn.004fed56
mov byte [ebp - 4], 0x1d
push dword [ebx + 0x6c]
push ebx
mov byte [ebp - 4], 0x1b
call fcn.004c9237
inc dword [ebp - 0x10]
push ebx
call fcn.004caef3
lea eax, [ebp - 0x80]
push 0x161e8
push eax
call fcn.004fefea
mov byte [ebp - 4], 0x1e
add esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0x5283bc
push eax
push ecx
call fcn.004ff124
add esp, 0xc
mov byte [ebp - 4], 0x1f
push ebx
mov byte [ebp - 4], 0x1e
call fcn.004c91a3
pop ecx
pop ecx
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x80]
call fcn.004fed5c
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x34]
call fcn.004fed5c
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x4c]
call fcn.004fed5c
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x14]
call fcn.004fed5c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x38]
call fcn.004fed5c
push ebx
call fcn.004caef3
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
call fcn.004cca12
add esp, 0x10
test al, al
je 0x4cd1a1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.004fed5c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004fed5c
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004fed5c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x50]
inc edx
mov dword [ebp - 0x50], edx
cmp edx, dword [ebp - 0x84]
jge 0x4cd1ff
mov eax, dword [ebp - 0x54]
jmp 0x4ccd0c
mov eax, dword [ebp - 0x2c]
mov byte [ebx + 0x88], 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3c]
call fcn.004fed5c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004fed5c
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004fed5c
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x1c], esi
jmp 0x4cd202
mov eax, dword [ebp - 0x2c]
mov byte [ebx + 0x88], 1
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.004fed5c
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004fed5c
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi]
push dword [ebp - 0x54]
push edi
call dword [eax + 0x1f0]
cmp byte [ebx + 0x8c], 0
pop ecx
pop ecx
je 0x4cd251
cmp dword [ebp - 0x40], 0xc8
jb 0x4cd251
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x84]
and dword [ebp - 0x84], 0
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004ff6d6
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
test al, al
mov byte [ebx + 0x8d], al
cmove ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004fed5c
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [ebp - 0x2c]
jl 0x4ccca5
mov eax, dword [edi]
push ecx
push edi
call dword [eax + 0x1f0]
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004fedb0
mov dword [ebp - 4], 0x20
test esi, esi
je 0x4cd31c
lea ecx, [ebp + 8]
call fcn.004fedb0
mov byte [ebp - 4], 0x21
lea eax, [ebp + 8]
push esi
push 0x54cba8
push eax
call fcn.004fee28
dec esi
lea eax, [ebp - 0x84]
neg esi
sbb esi, esi
add esi, 0x161d4
push esi
push eax
call fcn.004fefea
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fed62
add esp, 0x1c
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x84]
call fcn.004fed5c
push 0x52da60
lea ecx, [ebp - 0x84]
call fcn.004fedb6
mov byte [ebp - 4], 0x23
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004ff01c
add esp, 0xc
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x84]
call fcn.004fed5c
jmp 0x4cd33b
lea eax, [ebp + 8]
push 0x161d2
push eax
call fcn.004fefea
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004fed62
add esp, 0x10
mov byte [ebp - 4], 0x20
lea ecx, [ebp + 8]
call fcn.004fed5c
push ecx
lea eax, [ebp - 0x24]
mov dword [ebp + 8], esp
mov ecx, esp
push eax
call fcn.004fed56
mov byte [ebp - 4], 0x25
push dword [ebx + 0x6c]
push ebx
mov byte [ebp - 4], 0x20
call fcn.004cdb72
add esp, 0xc
cmp byte [ebx + 0x88], 0
jne 0x4cd37a
push ebx
call fcn.004caef3
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004fed5c
call fcn.00502a1c
ret