Function at 0x47164e
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 1
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x471657
push ebx
push esi
push edi
mov byte [0x4f664c], 0xff
movzx ebx, byte [0x4f7666]
cmp ebx, 1
jl case.default.0x471689
cmp ebx, 6
jg case.default.0x471689
mov edi, ebx
sub edi, 1
jmp dword [edi*4 + 0x543070]
movzx edx, byte [ebp + 8]
cmp edx, 0x11
jl case.default.0x471689
cmp edx, 0x14
jg case.default.0x471689
mov dl, byte [ebp + 8]
mov byte [0x4f7667], dl
mov byte [0x4f7666], 2
cmp byte [0x4f7667], 0x11
je 0x4716c8
cmp byte [0x4f7667], 0x12
jne 0x4716d7
movzx edx, byte [ebp + 8]
mov edi, edx
mov word [0x4f765c], di
jmp 0x4716f2
mov word [0x4f765c], 0xffff
push 0x4f765c
movzx edx, byte [ebp + 8]
push edx
call fcn.00470d71
add esp, 8
mov di, word [0x4f7662]
mov word [0x4f7660], di
jmp case.default.0x471689
movzx edx, byte [ebp + 8]
mov edi, edx
mov word [0x4f765a], di
mov word [0x4f7658], 0
cmp byte [0x4f7667], 0x11
je 0x47172d
cmp byte [0x4f7667], 0x12
jne 0x47176a
movzx edi, word [0x4f765c]
movzx edx, byte [ebp + 8]
add edi, edx
mov word [0x4f765c], di
movzx edi, word [0x4f765a]
cmp edi, 0
jle 0x471756
mov dword [ebp - 4], 4
jmp 0x47175d
mov dword [ebp - 4], 5
mov edi, dword [ebp - 4]
mov edx, edi
mov byte [0x4f7666], dl
jmp 0x471783
push 0x4f765c
movzx edx, byte [ebp + 8]
push edx
call fcn.00470d71
add esp, 8
mov byte [0x4f7666], 3
mov di, word [0x4f7662]
mov word [0x4f7660], di
jmp case.default.0x471689
movzx edi, word [0x4f765a]
movzx edx, byte [ebp + 8]
mov esi, edx
movzx esi, si
shl esi, 8
add edi, esi
mov word [0x4f765a], di
push 0x4f765c
movzx edx, byte [ebp + 8]
push edx
call fcn.00470d71
add esp, 8
movzx edi, word [0x4f765a]
cmp edi, 0
jle 0x4717d9
mov dword [ebp - 4], 4
jmp 0x4717e0
mov dword [ebp - 4], 5
mov edi, dword [ebp - 4]
mov edx, edi
mov byte [0x4f7666], dl
mov di, word [0x4f7662]
mov word [0x4f7660], di
jmp case.default.0x471689
movzx edi, word [0x4f7658]
cmp edi, 0x7fa
jge 0x47182e
mov di, word [0x4f7658]
movzx esi, di
add esi, 1
mov word [0x4f7658], si
movzx edi, di
mov dl, byte [ebp + 8]
mov byte [edi + 0x4f6e4c], dl
movzx edi, word [0x4f7658]
movzx esi, word [0x4f765a]
cmp edi, esi
jne 0x471847
mov byte [0x4f7666], 5
cmp byte [0x4f7667], 0x11
je 0x471859
cmp byte [0x4f7667], 0x12
jne 0x47186f
movzx edi, word [0x4f765c]
movzx edx, byte [ebp + 8]
add edi, edx
mov word [0x4f765c], di
jmp 0x471881
push 0x4f765c
movzx edx, byte [ebp + 8]
push edx
call fcn.00470d71
add esp, 8
mov di, word [0x4f7662]
mov word [0x4f7660], di
jmp case.default.0x471689
cmp byte [0x4f7667], 0x11
je 0x4718a6
cmp byte [0x4f7667], 0x12
jne 0x47191a
mov word [0x4f7652], 1
movzx edi, word [0x4f765c]
and edi, 0xff
movzx edx, byte [ebp + 8]
cmp edi, edx
jne 0x471907
mov byte [0x4f664c], 6
cmp byte [0x4f7667], 0x12
jne 0x4718dd
and byte [0x4f6e4c], 0xdf
jmp 0x47190e
call fcn.00470fba
movzx esi, word [0x4f765a]
mov edx, 0x7800
mov edi, eax
movzx edi, di
sub edx, edi
mov edi, edx
sub edi, 1
cmp esi, edi
jle 0x47190e
mov byte [0x4f664c], 0x15
jmp 0x47190e
mov byte [0x4f664c], 0x15
mov byte [0x4f7666], 7
jmp case.default.0x471689
movzx edx, byte [ebp + 8]
mov edi, edx
mov word [0x4f765e], di
mov byte [0x4f7666], 6
mov di, word [0x4f7662]
mov word [0x4f7660], di
jmp case.default.0x471689
mov word [0x4f7652], 1
movzx edi, word [0x4f765e]
movzx edx, byte [ebp + 8]
mov esi, edx
movzx esi, si
shl esi, 8
add edi, esi
mov word [0x4f765e], di
movzx edi, word [0x4f765c]
movzx esi, word [0x4f765e]
cmp edi, esi
jne 0x4719bb
mov byte [0x4f664c], 6
cmp byte [0x4f7667], 0x14
jne 0x471991
and byte [0x4f6e4c], 0xdf
jmp 0x4719c2
call fcn.00470fba
movzx esi, word [0x4f765a]
mov edx, 0x7800
mov edi, eax
movzx edi, di
sub edx, edi
mov edi, edx
sub edi, 1
cmp esi, edi
jle 0x4719c2
mov byte [0x4f664c], 0x15
jmp 0x4719c2
mov byte [0x4f664c], 0x15
mov byte [0x4f7666], 7
pop edi
pop esi
pop ebx
leave
ret