Function at 0x10078b80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push 0xe
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
or al, 0xff
push dword [ecx]
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0
xor esi, esi
mov byte [ebp - 3], 0
xor edi, edi
mov byte [ebp - 2], 0
mov byte [ebp - 1], al
call fcn.10049120
xor ebx, ebx
mov dword [ebp - 8], ebx
cmp dword [ebp + 0xc], ebx
jl 0x10078ecb
mov edx, dword [ebp + 8]
jg 0x10078bd2
cmp edx, 0xe
jbe 0x10078ecb
xor ecx, ecx
cmp ecx, 0x14
jae 0x10078ecb
test ecx, ecx
jne 0x10078c47
lea eax, [ebx + 0x12]
cmp ecx, dword [ebp + 0xc]
jg 0x10078ecb
jl 0x10078bf7
cmp eax, edx
jae 0x10078ecb
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
lea ecx, [eax + ebx]
mov al, byte [ecx + 0xe]
cmp al, 0xb8
jb 0x10078ecb
cmp al, 0xbf
ja 0x10078ecb
cmp al, 0xbc
je 0x10078ecb
movzx edi, byte [ecx + 0x12]
add al, 0x48
shl edi, 8
mov byte [ebp - 1], al
movzx eax, byte [ecx + 0x11]
add edi, eax
mov byte [ebp - 2], 1
movzx eax, byte [ecx + 0x10]
shl edi, 8
add edi, eax
movzx eax, byte [ecx + 0xf]
shl edi, 8
add edi, eax
jmp 0x10078e95
cmp ecx, 1
jne 0x10078db7
cmp byte [ebp - 2], 0
je 0x10078db7
xor ecx, ecx
lea eax, [ebx + 0xf]
cmp ecx, dword [ebp + 0xc]
jg 0x10078da7
jl 0x10078c72
cmp eax, edx
jae 0x10078da7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp byte [eax + ebx + 0xe], 0x81
lea ecx, [eax + ebx]
jne 0x10078da7
mov bl, byte [ecx + 0xf]
cmp bl, 0xc0
jb 0x10078c92
cmp bl, 0xc3
jbe 0x10078cf4
cmp bl, 0xc5
jb 0x10078c9c
cmp bl, 0xc7
jbe 0x10078cf4
cmp bl, 0xc8
jb 0x10078ca6
cmp bl, 0xcb
jbe 0x10078cf4
cmp bl, 0xcd
jb 0x10078cb0
cmp bl, 0xcf
jbe 0x10078cf4
cmp bl, 0xe0
jb 0x10078cba
cmp bl, 0xe3
jbe 0x10078cf4
cmp bl, 0xe5
jb 0x10078cc4
cmp bl, 0xe7
jbe 0x10078cf4
cmp bl, 0xe8
jb 0x10078cce
cmp bl, 0xeb
jbe 0x10078cf4
cmp bl, 0xed
jb 0x10078cd8
cmp bl, 0xef
jbe 0x10078cf4
cmp bl, 0xf0
jb 0x10078ce2
cmp bl, 0xf3
jbe 0x10078cf4
cmp bl, 0xf5
jb 0x10078ecb
cmp bl, 0xf7
ja 0x10078ecb
mov eax, dword [ebp - 8]
xor esi, esi
add eax, 0x13
cmp esi, dword [ebp + 0xc]
jg 0x10078ecb
jl 0x10078d0f
cmp eax, edx
jae 0x10078ecb
mov bh, byte [ebp - 1]
mov al, bl
and al, 7
cmp bh, al
jne 0x10078ecb
add ecx, 0x10
call fcn.100482a0
movzx ecx, bl
and ecx, 0x38
cmp ecx, 0x30
ja case.0x10078d38.1
movzx ecx, byte [ecx + 0x10079034]
jmp dword [ecx*4 + 0x1007901c]
xor ecx, ecx
jmp 0x10078d5d
mov ecx, 1
jmp 0x10078d5d
mov ecx, 2
jmp 0x10078d5d
mov ecx, 3
jmp 0x10078d5d
mov ecx, 4
jmp dword [ecx*4 + 0x10079068]
cmp edi, 0x45bd3c
je 0x10079002
cmp bh, 5
jne 0x10078ecb
mov ebx, dword [ebp - 8]
mov esi, 0x45bd3c
sub esi, edi
mov byte [ebp - 3], 1
jns 0x10078e95
not esi
inc esi
jmp 0x10078e95
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp byte [eax + ebx + 0xe], 5
je 0x10078f5b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
lea ecx, [eax + 0xe]
mov al, byte [ecx + ebx]
add ecx, ebx
cmp al, 0x25
je 0x10078f5b
cmp al, 0x35
je 0x10078f5b
cmp al, 0xd
je 0x10078f5b
cmp al, 0x2d
je 0x10078f5b
cmp dword [ebp - 0x10], 1
jne 0x10078e6e
cmp byte [ebp - 2], 0
je 0x10078e95
lea edx, [ebx + 0xf]
xor ebx, ebx
cmp ebx, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
jg 0x10078e95
jl 0x10078e14
cmp edx, dword [ebp + 8]
jae 0x10078e95
cmp al, 0xf7
jne 0x10078e95
mov cl, byte [ecx + 1]
mov al, cl
and al, 0x38
cmp al, 0x10
jne 0x10078ecb
mov al, cl
and al, 0xc0
cmp al, 0xc0
jne 0x10078ecb
and cl, 7
cmp cl, 4
je 0x10078ecb
mov al, byte [ebp - 1]
cmp al, cl
jne 0x10078ecb
not edi
cmp edi, 0x45bd3c
je 0x10079002
cmp al, 5
jne 0x10078ecb
mov esi, 0x45bd3c
mov byte [ebp - 3], 1
sub esi, edi
jns 0x10078e95
not esi
inc esi
jmp 0x10078e95
cmp dword [ebp - 0x10], 2
jne 0x10078e95
cmp byte [ebp - 3], 0
je 0x10078e95
test esi, esi
je 0x10078e95
lea ecx, [ebx + 0xf]
xor ebx, ebx
cmp ebx, dword [ebp + 0xc]
mov ebx, dword [ebp - 8]
jg 0x10078e95
jl 0x10078e91
cmp ecx, edx
jae 0x10078e95
cmp al, 0x8b
je 0x10078ed4
lea edx, [ebp - 4]
lea ecx, [ebp - 0x78]
call fcn.1007acd0
test eax, eax
je 0x10078ecb
mov ecx, dword [ebp - 0x10]
add ebx, eax
inc ecx
mov dword [ebp - 8], ebx
xor edx, edx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + 0xe]
cmp edx, dword [ebp + 0xc]
jg 0x10078ecb
mov edx, dword [ebp + 8]
jl 0x10078bd4
cmp eax, edx
jb 0x10078bd4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov cl, byte [eax + ebx + 0xf]
lea edi, [eax + ebx]
mov al, cl
and al, 7
cmp al, 5
jne 0x10078ecb
mov al, cl
and al, 0xc0
cmp al, 0x40
je 0x10078ef4
cmp al, 0x80
jne 0x10078ecb
cmp cl, 0x65
je 0x10078ecb
cmp cl, 0xa5
je 0x10078ecb
cmp al, 0x40
setne dl
dec dl
and dl, 0xfd
add dl, 4
movzx eax, dl
add eax, 0xe
add eax, ebx
xor ebx, ebx
cmp ebx, dword [ebp + 0xc]
jl 0x10078f21
jg 0x10078ecb
cmp eax, dword [ebp + 8]
jae 0x10078ecb
and cl, 0x38
cmp cl, 0x20
je 0x10078ecb
cmp dl, 1
jne 0x10078f45
movzx eax, byte [edi + 0x10]
test al, al
jns 0x10078f54
or eax, 0xffffff00
not eax
inc eax
cmp eax, esi
jmp 0x10078ffc
lea ecx, [edi + 0x10]
call fcn.100482a0
test eax, eax
jns 0x10078f54
not eax
inc eax
cmp eax, esi
jmp 0x10078ffc
xor ecx, ecx
lea eax, [ebx + 0x12]
cmp ecx, dword [ebp + 0xc]
jl 0x10078f73
jg 0x10078ecb
cmp eax, edx
jae 0x10078ecb
mov al, byte [ebp - 1]
test al, al
jne 0x10078ecb
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
movzx eax, byte [ecx + ebx + 0x11]
add ecx, ebx
movzx edx, byte [ecx + 0x12]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0x10]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xf]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 0xe]
add eax, 0xfffffffb
cmp eax, 0x30
ja case.0x10078fb8.6
movzx eax, byte [eax + 0x10079094]
jmp dword [eax*4 + 0x1007907c]
xor eax, eax
jmp 0x10078fdd
mov eax, 1
jmp 0x10078fdd
mov eax, 2
jmp 0x10078fdd
mov eax, 3
jmp 0x10078fdd
mov eax, 4
jmp dword [eax*4 + 0x100790c8]
cmp edi, 0x45bd3c
jne 0x10078ecb
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword [eax + 0x78], 0x3c5c5
mov word [eax + 0x7c], 0xd2d
mov al, 1
mov esp, ebp
pop ebp
ret